summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/hotplug.d/net/10-net')
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
index 8d2c6a803..dd4ee8863 100644
--- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
@@ -26,7 +26,7 @@ find_name()
}
;;
*)
- [ "$(nvram get ${IFPROTO}_ifname)" = "$INTERFACE" \
+ [ "$(nvram get ${IFTYPE}_device)" = "$INTERFACE" \
-a -x /sbin/ifup.${IFPROTO} ] && return 0
;;
esac