diff --git a/linupx-scripts.sh b/linupx-scripts.sh index c49a6da..d6185a3 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -668,6 +668,13 @@ blacklist { /etc/init.d/multipath-tools restart } +GET_WANIP(){ + wanip=$(curl -sL https://go.scity.us/get-wanip | bash) + echo -e "${idsCL[Green]}Your WAN IP: ${idsST[Bold]}${wanip}${idsST[Reset]}${idsCL[Default]}" + [ ${action-x} ] && exit 0 + ENTER2CONTINUE +} + ADDVEEAMUSER(){ bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/add-veeam-user.sh) echo @@ -959,9 +966,10 @@ MISC_MENU() { echo -e " [${idsCL[Yellow]}C${idsCL[Default]}] Change copycerts to LB-Nodes" echo fi - echo -e " [${idsCL[Yellow]}P${idsCL[Default]}] Upgrade to Python v3" echo -e " [${idsCL[Yellow]}V${idsCL[Default]}] Add Veeam User Account" echo -e "\n" + echo -e " [${idsCL[Yellow]}W${idsCL[Default]}] Get current WAN IP" + echo -e "\n" echo -e " [${idsCL[Yellow]}B${idsCL[Default]}] Back to Main Menu" echo -e " [${idsCL[Yellow]}I${idsCL[Default]}] Installation Scripts" echo -e " [${idsCL[Yellow]}Q${idsCL[Default]}] Quit" @@ -980,7 +988,7 @@ MISC_MENU() { [Uu]) COPYCERTS_UPDATE menu; MISC_MENU;; [Dd]) DNSUPDATE; MISC_MENU;; [Cc]) CHANGECOPYCERTS_INSTALL; MISC_MENU;; - [Pp]) PYTHON3UPGRADE; MISC_MENU;; + [Ww]) GET_WANIP; MISC_MENU;; [Vv]) ADDVEEAMUSER ENTER2CONTINUE MISC_MENU;;