started work on xml file installation/configuration
[systembsd.git] / src / main.c
CommitLineData
929eb2a9 1/* debugging */
2#define INSTALL 1
3#define NO_BUILTIN_XML 1
4
5/* end debugging */
6
387173cb 7#include <gio/gio.h>
b7f8df44 8#include "interfaces/hostnamed/hostnamed.c"
929eb2a9 9#include "main.h"
496f5d66 10
11int main() {
929eb2a9 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
1cd91c9c 19 GMainLoop *mloop = NULL;
387173cb 20
1cd91c9c 21 mloop = g_main_loop_new(NULL, FALSE);
22 hostnamed_init();
23 g_main_loop_run(mloop);
24
496f5d66 25 return 0;
ea207ed3 26}