X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain.c;h=3c30ae041be0bafdb6540fcca353d682187a6b50;hb=828caf9aaa256154d5998d7d3f6b57b434550a7c;hp=f8cb5efafd225102e3178566d0f9dc8c8eea3135;hpb=94dc7ef01374157347d95a4801704f5848649d83;p=systembsd.git diff --git a/src/main.c b/src/main.c index f8cb5ef..3c30ae0 100644 --- a/src/main.c +++ b/src/main.c @@ -18,24 +18,22 @@ #include #include #include + #include "config.c" + #include "interfaces/hostnamed/hostnamed.c" +#include "interfaces/localed/localed.c" +#include "interfaces/timedated/timedated.c" +#include "interfaces/logind/logind.c" gboolean systemd_utils_init() { if(!config_init()) { gchar *tmp; tmp = "/etc/systemd_compat.conf"; - g_printf("FAILED to open config %s!\n", tmp); + g_printf("FAILED to open config %s! did you `make install`?\n", tmp); return FALSE; } - /*if(!init_xml()) { - const gchar * const *tmp; - tmp = g_get_system_data_dirs(); - - g_printf("FAILED to install xml configs in %s!\n", tmp[0]); - return FALSE; - }*/ return TRUE; } @@ -49,6 +47,7 @@ int main() { } hostnamed_init(); + localed_init(); mloop = g_main_loop_new(NULL, TRUE);