make jinetd relocatable
[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 void main(String[] s) throws Exception {
9         Log.color = true;
10         Root root = new Root(Root.root);
11         while(true) try {
12             Thread.sleep(1000);
13             if (root != null) root.scan();
14         } catch (Exception e) { Log.error(Main.class, e); }
15     }
16
17 }