Update run.sh
This commit is contained in:
1 parent
18a9f562df
commit
e9fe0ee512
1 file changed
+2
-4
@@ -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