Browse Source

rc.sysinit: moved the early network setup after the preloading of modules (modules=...)

0.2-maint
Alejandro Mery 16 years ago
parent
commit
3cb5c3275e
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      initramfs/etc_rc.d_rc.sysinit.sh

+ 7
- 7
initramfs/etc_rc.d_rc.sysinit.sh

@ -61,13 +61,6 @@ title "Starting supervisor"
check start-stop-daemon -S -b -x /usr/bin/runsvdir -- /var/service/
status
# assuming the network module is built-in, start it earlier
for x in $(unet pending); do
title "Starting network (interface:$x)"
check unet $x up
status
done
# wait for udev
while [ ! -d /dev/.udev/ ]; do
sleep 1;
@ -110,6 +103,13 @@ if [ -n "$idunn" ]; then
done
fi
# assuming the network module is built-in or preloaded, start it earlier
for x in $(unet pending); do
title "Starting network (interface:$x)"
check unet $x up
status
done
title "Triggering coldplug"
check udevtrigger
check udevsettle

Loading…
Cancel
Save