This commit is contained in:
2019-01-28 00:38:59 -06:00
parent 5e968fb792
commit c32d7d7641
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ SCRIUPT=
source /opt/idssys/nodemgmt/settings.conf
source /opt/idssys/defaults/colors.inc
source /opt/idssys/defaults/default.inc
echo "HERE: ${ids_mysql_conn}"
NODE_HOSTS=`${ids_mysql_conn} -s -N -e "SELECT value FROM idssys.nodemgmt WHERE var = 'NODE_HOSTS'"`
IFS=,

2
run.sh
View File

@@ -13,7 +13,7 @@ echo -e "Node hostname: ${node_hostname}"
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
echo ""
if [ "$1" != "service1111" ]; then
if [ "$1" != "service" ]; then
cd /opt/idssys/defaults
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
git fetch origin master >/dev/null 2>&1