aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/hotplug.d/net/10-net
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/etc/hotplug.d/net/10-net')
-rw-r--r--package/base-files/default/etc/hotplug.d/net/10-net2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/hotplug.d/net/10-net b/package/base-files/default/etc/hotplug.d/net/10-net
index 8d2c6a8034..dd4ee8863a 100644
--- a/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/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