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 | 1930885f9024e0dfe001e75d4f4f3599733790ed (patch) | |
tree | a15baa233fa64318d696747292e3083574380dad /package | |
parent | f7f09b3ece05603aaef6cb91797728379bbd5730 (diff) | |
download | mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.zip mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.tar.gz mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.tar.bz2 |
fix a typo
SVN-Revision: 6228
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 cc7b70e..5c353a3 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 |