summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/sbin/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/sbin/ifdown')
-rwxr-xr-xopenwrt/package/base-files/default/sbin/ifdown7
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 3ebc251f72..8818d46145 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