projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97100e0
)
do not run hotplug event for aliases
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 13 Apr 2009 00:43:23 +0000
(
00:43
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 13 Apr 2009 00:43:23 +0000
(
00:43
+0000)
SVN-Revision: 15224
package/base-files/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index 0ab46c18aff7c9004a51930d960e9c0c8660fa82..d0aa33d1a43fcce41cc1e1cb179c1d11e768e64c 100755
(executable)
--- 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" &
}