updates
This commit is contained in:
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
# installs the zabbix agent and configures it
|
# installs the zabbix agent and configures it
|
||||||
|
|
||||||
|
# make sure we are running as sudo
|
||||||
|
if [ "$EUID" -ne 0 ]; then
|
||||||
|
echo "Please run as root"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
# create temp directory for downloaded files
|
# create temp directory for downloaded files
|
||||||
DIRECTORY="/tmp/zabbix_install"
|
DIRECTORY="/tmp/zabbix_install"
|
||||||
mkdir ${DIRECTORY}
|
mkdir ${DIRECTORY}
|
||||||
|
|||||||
Reference in New Issue
Block a user