import
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Main.java
1 package org.ibex.jinetd;
2 import org.ibex.util.*;
3 import java.io.*;
4 import java.util.*;
5
6 public class Main {
7
8     public static Root root = new Root(System.getProperty("jinetd.root", "/jinetd"));
9     public static void main(String[] s) throws Exception {
10         Log.color = true;
11         while(true) try {
12             Thread.sleep(1000);
13             //Log.info(Main.class, "scanning...");
14             if (root != null) root.scan();
15         } catch (Exception e) { Log.error(Main.class, e); }
16     }
17
18 }