Update linupx-scripts.sh

This commit is contained in:
2023-11-13 18:19:10 -06:00
parent 8e9ad82bce
commit ab732253fc

View File

@@ -668,6 +668,13 @@ blacklist {
/etc/init.d/multipath-tools restart /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(){ ADDVEEAMUSER(){
bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/add-veeam-user.sh) bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/add-veeam-user.sh)
echo echo
@@ -959,9 +966,10 @@ MISC_MENU() {
echo -e " [${idsCL[Yellow]}C${idsCL[Default]}] Change copycerts to LB-Nodes" echo -e " [${idsCL[Yellow]}C${idsCL[Default]}] Change copycerts to LB-Nodes"
echo echo
fi 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 " [${idsCL[Yellow]}V${idsCL[Default]}] Add Veeam User Account"
echo -e "\n" 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]}B${idsCL[Default]}] Back to Main Menu"
echo -e " [${idsCL[Yellow]}I${idsCL[Default]}] Installation Scripts" echo -e " [${idsCL[Yellow]}I${idsCL[Default]}] Installation Scripts"
echo -e " [${idsCL[Yellow]}Q${idsCL[Default]}] Quit" echo -e " [${idsCL[Yellow]}Q${idsCL[Default]}] Quit"
@@ -980,7 +988,7 @@ MISC_MENU() {
[Uu]) COPYCERTS_UPDATE menu; MISC_MENU;; [Uu]) COPYCERTS_UPDATE menu; MISC_MENU;;
[Dd]) DNSUPDATE; MISC_MENU;; [Dd]) DNSUPDATE; MISC_MENU;;
[Cc]) CHANGECOPYCERTS_INSTALL; MISC_MENU;; [Cc]) CHANGECOPYCERTS_INSTALL; MISC_MENU;;
[Pp]) PYTHON3UPGRADE; MISC_MENU;; [Ww]) GET_WANIP; MISC_MENU;;
[Vv]) ADDVEEAMUSER [Vv]) ADDVEEAMUSER
ENTER2CONTINUE ENTER2CONTINUE
MISC_MENU;; MISC_MENU;;