Browse Source

systemd: do not flock for console

master
Harald Hoyer 13 years ago
parent
commit
3d3ddf082b
  1. 6
      modules.d/98systemd/dracut-initqueue.sh

6
modules.d/98systemd/dracut-initqueue.sh

@ -59,8 +59,7 @@ while :; do @@ -59,8 +59,7 @@ while :; do
fi

main_loop=$(($main_loop+1))
[ $main_loop -gt $RDRETRY ] \
&& { flock -s 9 ; emergency_shell "Could not boot."; } 9>/.console_lock
[ $main_loop -gt $RDRETRY ] && emergency_shell "Could not boot."
done

unset job
@ -95,8 +94,7 @@ while :; do @@ -95,8 +94,7 @@ while :; do
done

i=$(($i+1))
[ $i -gt 20 ] \
&& { flock -s 9 ; emergency_shell "Can't mount root filesystem"; } 9>/.console_lock
[ $i -gt 20 ] && emergency_shell "Can't mount root filesystem"
done

{

Loading…
Cancel
Save