Update run.sh

This commit is contained in:
2019-01-29 08:46:17 -06:00
parent 8183cc6808
commit 16f0da86fc

1
run.sh
View File

@@ -7,6 +7,7 @@ source /opt/idssys/defaults/colors.inc
VERS=`mysql -h 10.5.10.56 -P 3308 -u sqluser -pdcs2057 -s -N -e "SELECT value FROM idssys.nodemgmt WHERE var = 'VERS'"`
if [ "$1" != "service" ] && [ "$1" != "status" ] && [ "$1" != "" ]; then
if [ $(pgrep mysql | wc -l) -gt "0" ]; then
SER_MYSQL="${idsCL[Green]}Running${idsCL[Default]}"