summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-29 22:07:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-29 22:07:17 +0000
commit1930885f9024e0dfe001e75d4f4f3599733790ed (patch)
treea15baa233fa64318d696747292e3083574380dad /package/base-files/files/etc
parentf7f09b3ece05603aaef6cb91797728379bbd5730 (diff)
downloadmtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.zip
mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.tar.gz
mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.tar.bz2
fix a typo
SVN-Revision: 6228
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/functions.sh2
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