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
This commit is contained in:
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…
Reference in New Issue
Block a user