diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 21cb827..24cb971 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -377,9 +377,10 @@ else fi # final Options - OPTIONS+=(HARDWARE "Run Hardwaretest") - OPTIONS+=(SOFTWARE "Run Softwaretest") - OPTIONS+=(OFF "PowerOff RaspiBlitz") + OPTIONS+=(HARDWARE "Run Hardwaretest") + OPTIONS+=(SOFTWARE "Run Softwaretest") + OPTIONS+=(UPDATE "Check/Prepare RaspiBlitz Update") + OPTIONS+=(OFF "PowerOff RaspiBlitz") OPTIONS+=(X "Console / Terminal") fi @@ -576,6 +577,11 @@ case $CHOICE in sudo shutdown -r now exit 0 ;; + UPDATE) + /home/admin/99checkUpdate.sh + ./00mainMenu.sh + exit 0 + ;; X) lncli -h echo "OK you now on the command line." diff --git a/home.admin/99checkBackup.sh b/home.admin/99checkUpdate.sh similarity index 99% rename from home.admin/99checkBackup.sh rename to home.admin/99checkUpdate.sh index efd9b5e..92af3f4 100644 --- a/home.admin/99checkBackup.sh +++ b/home.admin/99checkUpdate.sh @@ -129,5 +129,5 @@ OK. RaspiBlitz will NOT update now. exit 1 fi -echo "TODO: RUN UPDATE NOW" -exit 1 \ No newline at end of file +clear +sudo shutdown now \ No newline at end of file