get hostnamed to show up on session bus, incomplete
[systembsd.git] / src / main.c
index 52386992f243ac3493fa5be4ce2d0dba7c6a82d2..8ba890714434b4a2285953854ff04766f222aa10 100644 (file)
@@ -1,5 +1,13 @@
+#include <gio/gio.h>
 #include "modules/hostnamed/hostnamed.c"
 
 int main() {
+       GMainLoop *loop;
+       
+       hostnamed_init();
+       
+       loop = g_main_loop_new(NULL, FALSE);
+       g_main_loop_run(loop);
+
        return 0;
-}      
+}