Update run.sh
This commit is contained in:
6
run.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user