list out nodes

This commit is contained in:
2019-01-27 20:03:25 -06:00
parent 5d6f642f50
commit 03ee22f2d1
2 changed files with 11 additions and 7 deletions

2
run.sh
View File

@@ -3,7 +3,7 @@
source /opt/idssys/nodemgmt/settings.conf
#echo ""
if [ "$1" != "backup" ]; then
if [ "$1" != "service1111" ]; 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