1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2007-06-30 11:05:14 +00:00
parent f9ccf386f9
commit 370c954b81
5 changed files with 246 additions and 201 deletions

View File

@@ -41,7 +41,7 @@ start() {
ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
/sbin/hotplug2 --persistent --max-children 1 &
/sbin/hotplug2 --override --persistent --max-children 1 &
# 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