started work on xml file installation/configuration
[systembsd.git] / src / main.c
1 /* debugging */
2 #define INSTALL 1
3 #define NO_BUILTIN_XML 1
4
5 /* end debugging */
6
7 #include <gio/gio.h>
8 #include "interfaces/hostnamed/hostnamed.c"
9 #include "main.h"
10
11 int main() {
12
13 #if (defined NO_BUILTIN_XML && defined INSTALL)
14 if(!install_conf())
15 g_printf("%s\n", "FAILED to install xml configs!");;
16 #else
17 #endif
18
19 GMainLoop *mloop = NULL;
20
21 mloop = g_main_loop_new(NULL, FALSE);
22 hostnamed_init();
23 g_main_loop_run(mloop);
24
25 return 0;
26 }