const char *root;
struct boot_option *opt;
+ /* ignore bare values */
+
+ if (!name)
+ return;
+
if (conf_param_in_list(ignored_names, name))
return;
for (pos++; pos;) {
char *cl_name, *cl_value;
- pos = conf_get_param_pair(pos, &cl_name, &cl_value, ' ');
+ pos = conf_get_pair_equal(conf, pos, &cl_name, &cl_value, ' ');
if (!cl_name) {
args = talloc_asprintf_append(args, "%s ", cl_value);
conf = talloc_zero(dc, struct conf_context);
if (!conf)
- return -1;
+ return 0;
conf->dc = dc;
conf->global_options = kboot_global_options,
+ conf_init_global_options(conf);
conf->conf_files = kboot_conf_files,
+ conf->get_pair = conf_get_pair_equal;
conf->process_pair = kboot_process_pair;
conf->parser_info = (void *)kboot_ignored_names,
return rc;
}
-define_parser(kboot, 98, kboot_parse);
+define_parser(kboot, kboot_parse);