use resolv.conf.auto when setting the temporary dial on demand nameserver
authorFelix Fietkau <nbd@openwrt.org>
Fri, 3 Nov 2006 09:22:55 +0000 (09:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 3 Nov 2006 09:22:55 +0000 (09:22 +0000)
SVN-Revision: 5409

openwrt/package/comgt/files/ifup.wwan
openwrt/package/ppp/files/ifup.pppoe
openwrt/package/pptp/files/ifup.pptp

index 40fd1f498c8de4af54830eb9cc5c6616ac1d6daf..b67da17538ef12f6619f7d9b42e4f04a8ebf859c 100644 (file)
@@ -65,7 +65,7 @@ fi
                        DEMAND=${DEMAND:+demand idle $DEMAND}
                        [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND}
                        # set up a dummy nameserver for dial on demand
-                       echo "nameserver 1.1.1.1" > /tmp/resolv.conf
+                       echo "nameserver 1.1.1.1" > /tmp/resolv.conf.auto
                ;;
                *) DEMAND="";;
        esac
index 7f886973a2c36837ce7affcee90f06ec9525dc99..e88f77e90c7bc91769a6a9de1a7014f550ae3e61 100644 (file)
@@ -27,7 +27,7 @@ done
                        DEMAND=${DEMAND:+demand idle $DEMAND}
                        [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND}
                        # set up a dummy nameserver for dial on demand
-                       echo "nameserver 1.1.1.1" > /tmp/resolv.conf
+                       echo "nameserver 1.1.1.1" > /tmp/resolv.conf.auto
                ;;
                *) DEMAND="";;
        esac
index 49f37324c5a6ba07c9d6e8f5d4580aada93ad684..0e7b7228194d88e566a466c4133ddd9e6f8f9939 100644 (file)
@@ -26,7 +26,7 @@ done
                        DEMAND=${DEMAND:+demand idle $DEMAND}
                        [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND}
                        # set up a dummy nameserver for dial on demand
-                       echo "nameserver 1.1.1.1" > /tmp/resolv.conf
+                       echo "nameserver 1.1.1.1" > /tmp/resolv.conf.auto
                ;;
                *) DEMAND="";;
        esac