diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-23 02:39:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-23 02:39:01 +0000 |
commit | a2f0b509413fe3e4df9bb0213aaad7f6d7783b83 (patch) | |
tree | d42029d0592cba445fd6249f039834b3625a4f2e /scripts/config | |
parent | 9da5eb2da79a15c033a74469c6708a91e883fa87 (diff) | |
download | upstream-a2f0b509413fe3e4df9bb0213aaad7f6d7783b83.tar.gz upstream-a2f0b509413fe3e4df9bb0213aaad7f6d7783b83.tar.bz2 upstream-a2f0b509413fe3e4df9bb0213aaad7f6d7783b83.zip |
add initial version of a package feeds management script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8973 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config')
-rw-r--r-- | scripts/config/conf.c | 19 |
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; |