diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-11-19 14:53:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-11-19 14:53:21 +0000 |
commit | 5f682d247464c93194f56f693b5387dbd44db5a9 (patch) | |
tree | 6d952ddec97497237fa3b17016cb8530c60ec096 /package/base-files/default/sbin/ifdown | |
parent | dc2ed05154f94faa418b494143294550b92a8429 (diff) | |
download | master-187ad058-5f682d247464c93194f56f693b5387dbd44db5a9.tar.gz master-187ad058-5f682d247464c93194f56f693b5387dbd44db5a9.tar.bz2 master-187ad058-5f682d247464c93194f56f693b5387dbd44db5a9.zip |
fix ifup/down for ppp-based stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2536 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/sbin/ifdown')
-rwxr-xr-x | package/base-files/default/sbin/ifdown | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/base-files/default/sbin/ifdown b/package/base-files/default/sbin/ifdown index 3ebc251f72..8818d46145 100755 --- a/package/base-files/default/sbin/ifdown +++ b/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 |