SVN-Revision: 6228
master
Felix Fietkau 18 years ago
parent f7f09b3ece
commit 1930885f90
  1. 2
      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

Loading…
Cancel
Save