mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-19 08:36:18 +00:00
init: add 2 seconds pause on die, 1 second on warning so users see console messages
This commit is contained in:
parent
a9bee2885b
commit
b67f8e19ce
@ -3,11 +3,13 @@
|
||||
|
||||
die() {
|
||||
echo >&2 "$*";
|
||||
sleep 2;
|
||||
exit 1;
|
||||
}
|
||||
|
||||
warn() {
|
||||
echo >&2 "$*";
|
||||
sleep 1;
|
||||
}
|
||||
|
||||
recovery() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user