From bb2acf0169100cba97508ebe7121576e43d6d253 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 18 Oct 2018 23:38:44 +0200 Subject: [PATCH] added PowerOff Option --- home.admin/00mainMenu.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 188abd17..b28095fc 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -111,7 +111,8 @@ else fi # final Options - OPTIONS+=(X "Console / Terminal") + OPTIONS+=(OFF "PowerOff RaspiBlitz") + OPTIONS+=(X "Console / Terminal") fi @@ -230,6 +231,13 @@ case $CHOICE in read key ./00mainMenu.sh ;; + OFF) + echo "After Shutdown remove power from RaspiBlitz." + echo "Press ENTER to start shutdown." + read key + sudo shutdown now + exit 0 + ;; X) lncli -h echo "SUCH WOW come back with ./00mainMenu.sh"