chiark / gitweb /
bootchart: Support bootchart.conf.d directories in the usual search paths
[elogind.git] / src / bootchart / bootchart.c
index 5bb4247c8cbef713d27aaf7d553b87e9e83eb342..0808ba44ea17d401872dd94bd8aca6df009a4ed1 100644 (file)
@@ -125,10 +125,9 @@ static void parse_conf(void) {
                 { NULL, NULL, NULL, 0, NULL }
         };
 
-        config_parse(NULL, BOOTCHART_CONF, NULL,
-                     NULL,
-                     config_item_table_lookup, items,
-                     true, false, true, NULL);
+        config_parse_many(BOOTCHART_CONF,
+                          CONF_DIRS_NULSTR("systemd/bootchart.conf"),
+                          NULL, config_item_table_lookup, items, true, NULL);
 
         if (init != NULL)
                 strscpy(arg_init_path, sizeof(arg_init_path), init);