remove /tmp/resolv.conf.auto when ifup -a is called so that any old dns servers no longer in the config get cleared

SVN-Revision: 13082
v19.07.3_mercusys_ac12_duma
Travis Kemen 16 years ago
parent 5a97325e73
commit 6103f88358

@ -4,6 +4,7 @@
. /etc/functions.sh
[ $# = 0 ] && { echo " $0 <group>"; exit; }
[ "x$1" = "x-a" ] && {
[ -e "/tmp/resolv.conf.auto" ] && rm /tmp/resolv.conf.auto
config_cb() {
[ interface != "$1" -o -z "$2" ] || eval "$0 $2"
}

Loading…
Cancel
Save