From cec137000a9a1f83df31c3b2a210562f9564753e Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 13 Apr 2009 00:43:23 +0000 Subject: do not run hotplug event for aliases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15224 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/base-files/files/lib/network') diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 0ab46c18af..d0aa33d1a4 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -179,6 +179,9 @@ setup_interface_static() { done } + config_get type "$config" TYPE + [ "$type" = "alias" ] && return 0 + env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" & } -- cgit v1.2.3