File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,23 @@ function shutdown {
33 checkroot
44 case " $1 " in
55 " " )
6- echo " Shutting down in 60 seconds. Press crtl +c to cancel"
6+ echo " Shutting down in 60 seconds. Press ctrl +c to cancel. "
77 sleep 60
88 /sbin/shutdown now
99 ;;
1010 " now" )
1111 /sbin/shutdown now
1212 ;;
1313 " in" )
14- echo " Shutting down in $2 seconds. Press crtl +c to cancel"
14+ echo " Shutting down in $2 seconds. Press ctrl +c to cancel. "
1515 sleep " $2 "
1616 /sbin/shutdown now
1717 ;;
1818 " force" )
1919 /sbin/shutdown -f
2020 ;;
2121 * )
22- echo " Error: only now, in and force options are supported"
22+ echo " Error: only the options ' now', 'in', and ' force' are supported. "
2323 ;;
2424 esac
2525}
@@ -32,13 +32,13 @@ function shutdown_help {
3232 echo
3333 echo " Example:"
3434 echo " $BASENAME shutdown"
35- echo " System shutdown in 60 seconds. ' ctrl+c' to cancel"
35+ echo " System shutdown in 60 seconds. Press ctrl+c to cancel. "
3636 echo
3737 echo " $BASENAME shutdown now"
3838 echo " System shutdown immediately"
3939 echo
4040 echo " $BASENAME shutdown in <time in seconds>"
41- echo " System will shutdown after the specified time. ' ctrl+c' to cancel"
41+ echo " System will shutdown after the specified time. Press ctrl+c to cancel. "
4242 echo
4343 echo " $BASENAME shutdown force"
4444 echo " System will force shutdown"
Original file line number Diff line number Diff line change 11{
22 "name" : " @treehouses/cli" ,
3- "version" : " 1.25.10 " ,
3+ "version" : " 1.25.11 " ,
44 "remote" : " 4000" ,
55 "description" : " Thin command-line interface for Raspberry Pi low level configuration." ,
66 "main" : " cli.sh" ,
You can’t perform that action at this time.
0 commit comments