Update scripts/tools/OS_patching_tool.sh
This commit is contained in:
@ -1,11 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Roy Cohen :roy@proteon.com
|
|
||||||
#Proteon B.V. :Zuid Hollandlaan 7, 2596 AL Den Haag
|
|
||||||
#objective :OpenShift pathing tool using yum (RHEL and Centos)
|
#objective :OpenShift pathing tool using yum (RHEL and Centos)
|
||||||
#First line of code :04/09/2019
|
#First line of code :04/09/2019
|
||||||
#last update :06/09/2019
|
#last update :06/09/2019
|
||||||
#version :0.1
|
#version :0.1
|
||||||
#inspred by /home/freark/bin/batch_upgrade.sh
|
#inspred by /home//bin/batch_upgrade.sh
|
||||||
|
|
||||||
|
|
||||||
#Check if root is running the script
|
#Check if root is running the script
|
||||||
@ -15,7 +14,7 @@ if [[ $EUID -ne 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Parameters
|
# Parameters
|
||||||
NAGIOS_SCRIPT='/opt/proteon-scripts/minions/nagios/generic/nagios_add_downtime_host.sh'
|
NAGIOS_SCRIPT='/opt/minions/nagios/generic/nagios_add_downtime_host.sh'
|
||||||
BASE_LOG_DIR=/var/log/batch_upgrade
|
BASE_LOG_DIR=/var/log/batch_upgrade
|
||||||
TIMESTAMP=$(date +%Y%m%d.%H%M)
|
TIMESTAMP=$(date +%Y%m%d.%H%M)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user