summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update-me.in4
1 files 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"')