diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-11-19 14:53:21 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-11-19 14:53:21 +0000 |
commit | 68ff71b07423f041c296893aeea2cc713b0cdd38 (patch) | |
tree | c3cf7e23d9e162e5d2b4fd732cc487fa24a59b61 /openwrt/package/base-files/default/sbin/ifdown | |
parent | f415ff1978269c50de7619e4f45a5d6942f6c6cc (diff) |
fix ifup/down for ppp-based stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default/sbin/ifdown')
-rwxr-xr-x | openwrt/package/base-files/default/sbin/ifdown | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/openwrt/package/base-files/default/sbin/ifdown b/openwrt/package/base-files/default/sbin/ifdown index 3ebc251f7..8818d4614 100755 --- a/openwrt/package/base-files/default/sbin/ifdown +++ b/openwrt/package/base-files/default/sbin/ifdown @@ -12,12 +12,7 @@ if=$(nvram get ${type}_ifname) case "$if_proto" in pppoa) hotplug_dev unregister atm0; exit 0 ;; - pppoe) - [ "$(nvram get pppoe_atm)" = 1 ] && { - hotplug_dev unregister atm0 - exit - } - ;; + ""|none) exit 0;; esac if [ "${if%%[0-9]}" = "br" ]; then |