From 1930885f9024e0dfe001e75d4f4f3599733790ed Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Jan 2007 22:07:17 +0000 Subject: [PATCH] fix a typo SVN-Revision: 6228 --- package/base-files/files/etc/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh index cc7b70e5110..5c353a3d010 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 -- 2.30.2