update
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
VERS='2.02072019'
|
VERS='2.02072019'
|
||||||
NODEHOSTS=10.5.10.51,10.5.10.52,10.5.10.53
|
NODEHOSTS=10.5.10.51,10.5.10.52,10.5.10.53
|
||||||
NODESERVICES=mysql,nginx,gitea,haproxy,keepalived,maxscale
|
NODESERVICES=mysql,nginx,gitea,haproxy,keepalived,maxscale
|
||||||
|
noheader=service,status-check,nightlyrenew,backup,report
|
||||||
REPL_CHECKS=
|
REPL_CHECKS=
|
||||||
CERT_DAEMON='/usr/bin/certbot'
|
CERT_DAEMON='/usr/bin/certbot'
|
||||||
FOLDER=/opt/idssys/nodemgmt
|
FOLDER=/opt/idssys/nodemgmt
|
||||||
|
|||||||
@@ -1070,7 +1070,7 @@ GUI(){
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
if [ ${action-x} ]; then
|
if [ ${action-x} ]; then
|
||||||
if [ "$1" != "status-check" ] && [ "$1" != "nightlyrenew" ] && [ "$1" != "backup" ]; then
|
if [[ "$1" != *"${noheader}"* ]] && [[ "$2" != *"${noheader}"* ]]; then
|
||||||
DISP_HEADER
|
DISP_HEADER
|
||||||
fi
|
fi
|
||||||
case $action in
|
case $action in
|
||||||
|
|||||||
3
run.sh
3
run.sh
@@ -12,7 +12,8 @@ else
|
|||||||
fi
|
fi
|
||||||
source /opt/idssys/nodemgmt/defaults.inc
|
source /opt/idssys/nodemgmt/defaults.inc
|
||||||
|
|
||||||
if [ "$1" != "service" ] && [ "$1" != "status-check" ] && [ "$1" != "nightlyrenew" ] && [ "$1" != "backup" ] && [ "$2" != "report" ]; then
|
if [[ "$1" != *"${noheader}"* ]] && [[ "$2" != *"${noheader}"* ]]; then
|
||||||
|
#if [ "$1" != "service" ] && [ "$1" != "status-check" ] && [ "$1" != "nightlyrenew" ] && [ "$1" != "backup" ] && [ "$2" != "report" ]; then
|
||||||
if [ "${1}" = "gui" ]; then
|
if [ "${1}" = "gui" ]; then
|
||||||
DISP_HEADER
|
DISP_HEADER
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user