From b7ee265303843ebf083ca60069a34a091bbaaeae Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 16 Jan 2006 03:14:59 +0000 Subject: port wan_device changes from whiterussian to kamikaze git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2993 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/etc/hotplug.d/net/10-net | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openwrt/package/base-files/default/etc/hotplug.d/net') 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 8d2c6a8034..dd4ee8863a 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 -- cgit v1.2.3