This commit is contained in:
2026-03-26 18:43:31 -05:00
parent a33ecbdfbf
commit ecb17b3e23
2 changed files with 56 additions and 51 deletions
+4 -1
View File
@@ -3,7 +3,10 @@
action="$1"
FOLDER='/opt/idssys/ta-proxmenu'
VERS='2026.3.26-1'
VERS='2026.3.26-3'
noupdate=' restart cpu '
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
+2
View File
@@ -5,6 +5,7 @@
source /opt/idssys/defaults/default.inc
source /opt/idssys/ta-proxmenu/defaults.inc
if [[ "${noupdate}" != *" ${1} "* ]] && [[ "${noupdate}" != *" ${2} "* ]]; then
if curl -m 3 -s --head --request GET https://git.scity.us | grep "HTTP/2 200" > /dev/null; then
if [ "${1}" != "tapm" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
@@ -60,6 +61,7 @@ if curl -m 3 -s --head --request GET https://git.scity.us | grep "HTTP/2 200" >
else
echo -e "${idsCL[Red]}Could not connect to 'git.scity.us' for updates${idsCL[Default]}"
fi
fi
if [ "${1}" != "tapm" ] && [ "${1}" != "update" ] && [ "${1}" != "u" ]; then
/opt/idssys/ta-proxmenu/proxmenu-scripts.sh $1 $2 $3 $4