summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-16 03:14:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-16 03:14:59 +0000
commite272d81c21b34540668d7421dcf18fd9013b94ce (patch)
tree6c47c03bafdb5e3acdb8b11e1d8c6b1529e7e67f /openwrt/package/base-files/default/etc
parent99ddd56ca38bbac21caa40a34c664b3aa487db2b (diff)
downloadmtk-20170518-e272d81c21b34540668d7421dcf18fd9013b94ce.zip
mtk-20170518-e272d81c21b34540668d7421dcf18fd9013b94ce.tar.gz
mtk-20170518-e272d81c21b34540668d7421dcf18fd9013b94ce.tar.bz2
port wan_device changes from whiterussian to kamikaze
SVN-Revision: 2993
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-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 8d2c6a8..dd4ee88 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