From 6c1945a7872d90e2014eebf9c30ce14e472f6a77 Mon Sep 17 00:00:00 2001 From: Julien Coloos Date: Sun, 12 Jul 2026 20:14:00 +0200 Subject: [PATCH] Wait 2s before powering off. So that message is visible if user is on console. --- src/hooks/ssh-cryptsetup | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/ssh-cryptsetup b/src/hooks/ssh-cryptsetup index 6e78cf4..ab64bca 100644 --- a/src/hooks/ssh-cryptsetup +++ b/src/hooks/ssh-cryptsetup @@ -74,6 +74,7 @@ sshcs_net_done() { sshcs_trapped_timeout() { log_err "Timeout reached! Powering off." + sleep 2 poweroff -f exit }