mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:21:07 +02:00
remove /tmp/resolv.conf.auto when ifup -a is called so that any old dns servers no longer in the config get cleared
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13082 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
988734b10c
commit
f45cb578c9
@ -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…
x
Reference in New Issue
Block a user