Update run.sh
This commit is contained in:
1
run.sh
1
run.sh
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user