3 //#define NO_BUILTIN_XML 1
8 #include <glib/gprintf.h>
9 #include <glib/gstdio.h>
11 #include "interfaces/hostnamed/hostnamed.c"
14 gboolean
systemd_utils_init() {
17 g_printf("%s\n", "FAILED to install configs in /etc/!");
28 if(!systemd_utils_init()) {
29 g_printf("failed to init, are you root?\n");
30 return 1; //TODO errno properly. grep for all "return 1;"s, not TODO'ing each one
35 mloop
= g_main_loop_new(NULL
, TRUE
);
37 g_main_loop_run(mloop
);
38 g_main_loop_unref(mloop
);