projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f09b3
)
fix a typo
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Jan 2007 22:07:17 +0000
(22:07 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Jan 2007 22:07:17 +0000
(22:07 +0000)
SVN-Revision: 6228
package/base-files/files/etc/functions.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/functions.sh
b/package/base-files/files/etc/functions.sh
index cc7b70e51100ea8858b2d35b5ef7ca0cf7598d7a..5c353a3d010b81dc4c7a0319e4aa8d4c1b9cb7b0 100755
(executable)
--- 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