From d9a980389c32b32390aede62b614340547994fb4 Mon Sep 17 00:00:00 2001 From: M0VUB <76499782+ShaYmez@users.noreply.github.com> Date: Mon, 2 Jan 2023 23:36:45 +0000 Subject: [PATCH] Update menu Final tweaks, add sudo permissions --- usr/local/sbin/menu | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/usr/local/sbin/menu b/usr/local/sbin/menu index 5898707..8592264 100755 --- a/usr/local/sbin/menu +++ b/usr/local/sbin/menu @@ -25,20 +25,19 @@ menuopt=$(whiptail --title "HBlink3 Control Version 1.9PL" --menu "Select option 3 " Restart HBlink " \ 4 " Update HBlink / Docker " \ 5 " Flush HBlink / Truncate Logs " \ -6 " Edit Configuration " \ -7 " Edit Routing Rules / Python " \ +6 " Edit HBlink Config " \ +7 " Edit HBlink Rules " \ 8 " Edit Dashboard Config " \ 9 " Full Upgrade OBPMaster " \ 10 " System Update / apt update " \ -11 " Reboot Entire Server " +11 " Reboot Entire Server " \ 12 " Shutdown Entire Server " 3>&1 1>&2 2>&3) exitstatus=$? # Back-end HBlink3 menu -#exitstatus=$? if [ $exitstatus = 0 ]; then echo "You have chosen option:" $menuopt else - echo "Type 'menu' to start HBlink3 Control Menu "; break; + echo "Type 'hblink-menu' to enter HBlink3 Control Menu "; break; fi # Action case $menuopt in