export proper xml FINALLY..
[systembsd.git] / src / main.c
CommitLineData
08e17ea2 1/* debugging */
11475670 2//#define INSTALL 1
3//#define NO_BUILTIN_XML 1
08e17ea2 4/* end debugging */
5
387173cb 6#include <gio/gio.h>
b7f8df44 7#include "interfaces/hostnamed/hostnamed.c"
11475670 8//#include "main.h"
496f5d66 9
10int main() {
08e17ea2 11
12 #if (defined NO_BUILTIN_XML && defined INSTALL)
13 if(!install_conf())
14 g_printf("%s\n", "FAILED to install xml configs!");;
15 #else
16 #endif
17
e8c57a5d 18 GMainLoop *mloop = NULL;
387173cb 19
e8c57a5d 20 mloop = g_main_loop_new(NULL, FALSE);
21 hostnamed_init();
22 g_main_loop_run(mloop);
23
496f5d66 24 return 0;
ea207ed3 25}