Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Press Enter to execute the highlighted option.\n\n" 24 50 14\
"1" "Status"\
"2" "Installation phase 1 - 15 minutes"\
"3" "Installation phase 2 - 5 minutes"\
"4" "Edit variables"\
"5" "Edit variables in a browser"\
"6" "Copy data from another Nightscout"\
"7" "Update scripts"\
"8" "Backup MongoDB"\
"9" "Restore MongoDB backup"\
"10" "FreeDNS Setup"\
"4" "Edit variables in a browser"\
"5" "Copy Variables from Heroku"\
"6" "Update scripts"\
"7" "Backup MongoDB"\
"8" "Restore MongoDB backup"\
"9" "FreeDNS Setup"\
"10" "Copy data from another Nightscout"\
"11" "Customize Nightscout"\
"12" "Reboot server (Nightscout)"\
"13" "Exit to shell (terminal)"\
Expand All @@ -43,19 +43,14 @@ sudo /xDrip/scripts/NS_Install2.sh
;;

4)
/xDrip/scripts/variables.sh
/xDrip/scripts/varserver.sh
;;

5)
/xDrip/scripts/varserver.sh
/xDrip/scripts/GetHerokuVars.sh
;;

6)
clear
sudo /xDrip/scripts/clone_nightscout.sh
;;

7)
cd /srv
cd "$(< repo)" # Go to the local database
sudo git reset --hard # delete any local edits.
Expand All @@ -66,19 +61,24 @@ clear
sudo /xDrip/scripts/update_scripts.sh
;;

8)
7)
/xDrip/scripts/backupmongo.sh
;;

9)
8)
/xDrip/scripts/restoremongo.sh
;;

10)
9)
clear
sudo /xDrip/scripts/ConfigureFreedns.sh
;;

10)
clear
sudo /xDrip/scripts/clone_nightscout.sh
;;

11)
sudo /xDrip/scripts/update_nightscout.sh
;;
Expand Down