Update run.sh

This commit is contained in:
2019-02-03 20:12:54 -06:00
parent a1a0947e28
commit b2c71cb0ef

4
run.sh
View File

@@ -1,6 +1,8 @@
#!/usr/bin/env bash
# NodeMgmt Loader
action=$1
source /opt/idssys/defaults/colors.inc
source /opt/idssys/defaults/default.inc
if [ ! -f /opt/idssys/settings/nodemgmt.conf ]; then
@@ -11,7 +13,7 @@ fi
source /opt/idssys/nodemgmt/defaults.inc
if [ "$1" != "service" ] && [ "$1" != "status-check" ] && [ "$1" != "nightlyrenew" ]; then
if [ -z ${1+x} ] || "${1}" = "gui" ]; then
if [ ! -z ${action+x} ] || "${1}" = "gui" ]; then
DISP_HEADER
fi
if [ "${1}" != "gui" ]; then