aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/conf.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-23 02:39:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-23 02:39:01 +0000
commitf8dfc5757363cfcfda561ecde2ee75d9a0e5d16f (patch)
tree2704834cf7bfb501fb0a4b72501e8b9b537aa847 /scripts/config/conf.c
parentd7502c446b47c04e5630534663f6aca0dcb60b1d (diff)
downloadupstream-f8dfc5757363cfcfda561ecde2ee75d9a0e5d16f.tar.gz
upstream-f8dfc5757363cfcfda561ecde2ee75d9a0e5d16f.tar.bz2
upstream-f8dfc5757363cfcfda561ecde2ee75d9a0e5d16f.zip
add initial version of a package feeds management script
SVN-Revision: 8973
Diffstat (limited to 'scripts/config/conf.c')
-rw-r--r--scripts/config/conf.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/scripts/config/conf.c b/scripts/config/conf.c
index cb2093691e..6589aee451 100644
--- a/scripts/config/conf.c
+++ b/scripts/config/conf.c
@@ -579,28 +579,11 @@ int main(int ac, char **av)
}
case ask_all:
case ask_new:
- conf_read(NULL);
- break;
case set_no:
case set_mod:
case set_yes:
case set_random:
- name = getenv("KCONFIG_ALLCONFIG");
- if (name && !stat(name, &tmpstat)) {
- conf_read_simple(name);
- break;
- }
- switch (input_mode) {
- case set_no: name = "allno.config"; break;
- case set_mod: name = "allmod.config"; break;
- case set_yes: name = "allyes.config"; break;
- case set_random: name = "allrandom.config"; break;
- default: break;
- }
- if (!stat(name, &tmpstat))
- conf_read_simple(name);
- else if (!stat("all.config", &tmpstat))
- conf_read_simple("all.config");
+ conf_read(NULL);
break;
default:
break;