From a079d6592caf73000dc6ec018952255ed1b68967 Mon Sep 17 00:00:00 2001 From: RJ Padilla Date: Wed, 3 Mar 2021 23:08:16 -0500 Subject: [PATCH] `treehouses shutdown` english (fixes #2048) (#2052) Co-authored-by: dogi --- modules/shutdown.sh | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/shutdown.sh b/modules/shutdown.sh index 94a8cc1a7..246456942 100644 --- a/modules/shutdown.sh +++ b/modules/shutdown.sh @@ -3,7 +3,7 @@ function shutdown { checkroot case "$1" in "") - echo "Shutting down in 60 seconds. Press crtl+c to cancel" + echo "Shutting down in 60 seconds. Press ctrl+c to cancel." sleep 60 /sbin/shutdown now ;; @@ -11,7 +11,7 @@ function shutdown { /sbin/shutdown now ;; "in") - echo "Shutting down in $2 seconds. Press crtl+c to cancel" + echo "Shutting down in $2 seconds. Press ctrl+c to cancel." sleep "$2" /sbin/shutdown now ;; @@ -19,7 +19,7 @@ function shutdown { /sbin/shutdown -f ;; *) - echo "Error: only now, in and force options are supported" + echo "Error: only the options 'now', 'in', and 'force' are supported." ;; esac } @@ -32,13 +32,13 @@ function shutdown_help { echo echo "Example:" echo " $BASENAME shutdown" - echo " System shutdown in 60 seconds. 'ctrl+c' to cancel" + echo " System shutdown in 60 seconds. Press ctrl+c to cancel." echo echo " $BASENAME shutdown now" echo " System shutdown immediately" echo echo " $BASENAME shutdown in