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 | 969a4d1c2a55b9def4c4576816ffe37f357e0f94 (patch) | |
tree | 18ca8236b5b830a42291031e53a49c93be81da6b /openwrt/package/base-files/default/sbin/ifdown | |
parent | 3cc0f965fb567da350ab21984ee3e91f761be81a (diff) | |
download | mtk-20170518-969a4d1c2a55b9def4c4576816ffe37f357e0f94.zip mtk-20170518-969a4d1c2a55b9def4c4576816ffe37f357e0f94.tar.gz mtk-20170518-969a4d1c2a55b9def4c4576816ffe37f357e0f94.tar.bz2 |
fix ifup/down for ppp-based stuff
SVN-Revision: 2536
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 3ebc251..8818d46 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 |