stage-1-init: Remove timeout from `fail()'.
Timeouts upon failure can be harmful, e.g., after a file system failure that needs manual intervention. svn path=/nixos/trunk/; revision=16637
This commit is contained in:
parent
8c034b988d
commit
ac29ad197b
|
@ -8,7 +8,6 @@ export LD_LIBRARY_PATH=@extraUtils@/lib
|
||||||
fail() {
|
fail() {
|
||||||
# If starting stage 2 failed, allow the user to repair the problem
|
# If starting stage 2 failed, allow the user to repair the problem
|
||||||
# in an interactive shell.
|
# in an interactive shell.
|
||||||
timeout=15
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
An error occured in stage 1 of the boot process, which must mount the
|
An error occured in stage 1 of the boot process, which must mount the
|
||||||
|
@ -21,7 +20,7 @@ of the following keys within $timeout seconds:
|
||||||
*) to ignore the error and continue.
|
*) to ignore the error and continue.
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
read -t $timeout reply
|
read reply
|
||||||
|
|
||||||
case $reply in
|
case $reply in
|
||||||
f)
|
f)
|
||||||
|
|
Loading…
Reference in New Issue