Update run.sh

This commit is contained in:
2019-02-07 23:30:53 -06:00
parent 18a9f562df
commit e9fe0ee512

6
run.sh
View File

@@ -1,8 +1,6 @@
#!/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,8 +9,8 @@ else
source /opt/idssys/settings/nodemgmt.conf
fi
source /opt/idssys/nodemgmt/defaults.inc
if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
echo "$1 - $2"
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
if [ "${1}" = "gui" ]; then
DISP_HEADER
fi