From d29153dc010840afa45e70ced91c5e558fca6bb6 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 23 Sep 2007 02:39:01 +0000 Subject: add initial version of a package feeds management script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8973 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/config/conf.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'scripts/config') diff --git a/scripts/config/conf.c b/scripts/config/conf.c index cb2093691..6589aee45 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; -- cgit v1.2.3