Browse Source

#524 added Update to main menu

master
Christian Rotzoll 6 years ago
parent
commit
61cdc02501
  1. 6
      home.admin/00mainMenu.sh
  2. 4
      home.admin/99checkUpdate.sh

6
home.admin/00mainMenu.sh

@ -379,6 +379,7 @@ else
# final Options
OPTIONS+=(HARDWARE "Run Hardwaretest")
OPTIONS+=(SOFTWARE "Run Softwaretest")
OPTIONS+=(UPDATE "Check/Prepare RaspiBlitz Update")
OPTIONS+=(OFF "PowerOff RaspiBlitz")
OPTIONS+=(X "Console / Terminal")
@ -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."

4
home.admin/99checkBackup.sh → home.admin/99checkUpdate.sh

@ -129,5 +129,5 @@ OK. RaspiBlitz will NOT update now.
exit 1
fi
echo "TODO: RUN UPDATE NOW"
exit 1
clear
sudo shutdown now
Loading…
Cancel
Save