diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-13 00:43:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-13 00:43:23 +0000 |
commit | 6397e188affe1fc85bee579346956c61e90219aa (patch) | |
tree | 895c53e00f6050a1c2b75e73d17d85ed2901a6bf /package/base-files/files/lib | |
parent | 97100e0248e722aed43925177a12f2d3ab7a7753 (diff) | |
download | master-31e0f0ae-6397e188affe1fc85bee579346956c61e90219aa.tar.gz master-31e0f0ae-6397e188affe1fc85bee579346956c61e90219aa.tar.bz2 master-31e0f0ae-6397e188affe1fc85bee579346956c61e90219aa.zip |
do not run hotplug event for aliases
SVN-Revision: 15224
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" & } |