projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1733ea9
)
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
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
cc7b70e
..
5c353a3
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