mirror of https://github.com/hak5/openwrt-owl.git
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: 13082owl
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