Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -6,6 +6,7 @@ source /opt/idssys/defaults/colors.inc
|
|||||||
|
|
||||||
|
|
||||||
if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
||||||
|
if [ "${1}" != "check" ]; then
|
||||||
|
|
||||||
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||||
echo ""
|
echo ""
|
||||||
@@ -35,6 +36,7 @@ if curl -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 20
|
|||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
/opt/idssys/vpnmon/vpnmon.sh $1 $2 $3 $4
|
/opt/idssys/vpnmon/vpnmon.sh $1 $2 $3 $4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user