1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-08 00:22:21 +03:00

add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should prevent duplicate ifup actions. thx, ffrrrr.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8864 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-09-20 10:19:24 +00:00
parent 0829b438bb
commit b3d1bf8b9c

View File

@ -41,7 +41,7 @@ start() {
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
/sbin/hotplug2 --override --persistent --max-children 1 &
/sbin/hotplug2 --override --persistent --max-children 1 --no-coldplug &
# the coldplugging of network interfaces needs to happen later, so we do it manually here
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do