fix ifup (no longer use the to-be-reverted state of the previous config)
[openwrt.git] / package / base-files / files / sbin / ifdown
index 9eadad3..883f8ec 100755 (executable)
@@ -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"
        }
This page took 0.030121 seconds and 4 git commands to generate.