cname = p->config->name;
sname = p->name;
+ printf("%s.%s=%s\n", cname, sname, p->type);
uci_foreach_entry(option, &p->options, o) {
printf("%s.%s.%s=%s\n", cname, sname, o->name, o->value);
}
static int uci_show(int argc, char **argv)
{
- char **configs = uci_list_configs(ctx);
+ char **configs = uci_list_configs();
char **p;
if (!configs)