summaryrefslogtreecommitdiff
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
parentf7f09b3ece05603aaef6cb91797728379bbd5730 (diff)
downloadmtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.zip
mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.tar.gz
mtk-20170518-1930885f9024e0dfe001e75d4f4f3599733790ed.tar.bz2
fix a typo
SVN-Revision: 6228
-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