X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ac31c967ceced5c9e77699b535ccdbc60d2eb84e..23e86550c9c59436cc5f253292774861dd6ca62e:/package/base-files/default/etc/hotplug.d/net/10-net?ds=sidebyside 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 8d2c6a803..dd4ee8863 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