mirror of
https://github.com/suiryc/archlinux-initrd-ssh-cryptsetup.git
synced 2026-07-27 20:27:00 +03:00
Wait 2s before powering off.
So that message is visible if user is on console.
This commit is contained in:
@@ -74,6 +74,7 @@ sshcs_net_done() {
|
|||||||
|
|
||||||
sshcs_trapped_timeout() {
|
sshcs_trapped_timeout() {
|
||||||
log_err "Timeout reached! Powering off."
|
log_err "Timeout reached! Powering off."
|
||||||
|
sleep 2
|
||||||
poweroff -f
|
poweroff -f
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user