From 15c13f2448249d06b32901ef2ce04aee8e660898 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 27 May 2021 08:17:56 +0200 Subject: update-me.in: use shutdownasap -R instead of -r to not overwrite a scheduled shutdown --- update-me.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-me.in b/update-me.in index f20f837..ed95002 100644 --- a/update-me.in +++ b/update-me.in @@ -53,9 +53,9 @@ for mp in '/' '/boot'; do preCmds+=('mount -o remount,rw '"${mp}") if command -v shutdownasap >/dev/null; then if command -v screen >/dev/null; then - postCmds+=('mount -o remount,ro '"${mp}"' || screen -d -m shutdownasap -r') + postCmds+=('mount -o remount,ro '"${mp}"' || screen -d -m shutdownasap -R') else - postCmds+=('mount -o remount,ro '"${mp}"' || shutdownasap -r') + postCmds+=('mount -o remount,ro '"${mp}"' || shutdownasap -R') fi else postCmds+=('bash -c "mount -o remount,ro '"${mp}"' || reboot"') -- cgit v1.2.3-70-g09d2