Update install.sh

This commit is contained in:
Lucas Decrock 2019-01-26 22:42:53 +01:00
parent 761f8ee3af
commit 432cf02a7c

View file

@ -136,7 +136,7 @@ then
chmod +s `type -p ping` chmod +s `type -p ping`
# Configure cron # Configure cron
crontab -u netweak -l 2>/dev/null | { cat; echo "* * * * * bash /etc/netweak/agent.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak - crontab -u netweak -l 2>/dev/null | { cat; echo "*\3 * * * * bash /etc/netweak/agent.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak -
# Show success # Show success
echo -e "|\n| Success: The NetWeak agent has been installed\n|" echo -e "|\n| Success: The NetWeak agent has been installed\n|"