diff --git a/run.sh b/run.sh index 05845e7d..3a2458b4 100755 --- a/run.sh +++ b/run.sh @@ -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