clear is ignored, replace with echo

This commit is contained in:
t3chn0m4g3 2014-12-18 19:07:21 +01:00
parent 333da3ad62
commit 4a2ce5a13e

View file

@ -3,7 +3,7 @@
# T-Pot Community Edition post install script #
# Ubuntu server 14.04, x64 #
# #
# v0.18 by mo, DTAG, 2014-12-18 #
# v0.19 by mo, DTAG, 2014-12-18 #
########################################################
# Let's make sure there is a warning if running for a second time
@ -232,7 +232,7 @@ fuECHO "### Adding useful docker output to tty2"
tee -a /etc/crontab <<EOF
# Show running containers every 60s via /dev/tty2
*/1 * * * * root clear > /dev/tty2; date > /dev/tty2; docker ps > /dev/tty2; echo > /dev/tty2
*/1 * * * * root echo > /dev/tty2; date > /dev/tty2; docker ps > /dev/tty2; echo > /dev/tty2
EOF
# Let's add a nice and useful issue text and update rc.local accordingly