diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-29 22:07:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-29 22:07:17 +0000 |
commit | 6dcfb98800baa65ca367970eae819657a94a9a1f (patch) | |
tree | 92899ad96a1e35ffe5034d3c2a44e48b2dcec3ac /package | |
parent | 1733ea9c1f0b1a85da2c5eba775a79f84b5db9a5 (diff) | |
download | master-187ad058-6dcfb98800baa65ca367970eae819657a94a9a1f.tar.gz master-187ad058-6dcfb98800baa65ca367970eae819657a94a9a1f.tar.bz2 master-187ad058-6dcfb98800baa65ca367970eae819657a94a9a1f.zip |
fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh index cc7b70e511..5c353a3d01 100755 --- a/package/base-files/files/etc/functions.sh +++ b/package/base-files/files/etc/functions.sh @@ -77,7 +77,7 @@ config_clear() { CONFIG_SECTIONS="$(echo " $CONFIG_SECTIONS " | sed -e "s, $OLD , ,")" CONFIG_SECTIONS="${SECTION:+$CONFIG_SECTIONS}" - for oldvar in `set | grep ^CONFIG_${SECTION:+$SECTION_} | \ + for oldvar in `set | grep ^CONFIG_${SECTION:+${SECTION}_} | \ sed -e 's/\(.*\)=.*$/\1/'` ; do unset $oldvar done |