projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix a typo
[openwrt.git]
/
package
/
base-files
/
files
/
etc
/
functions.sh
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}"
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
sed -e 's/\(.*\)=.*$/\1/'` ; do
unset $oldvar
done
This page took
0.021359 seconds
and
4
git commands to generate.