mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 04:22:11 +00:00
clear /dev/tty2 before output
This commit is contained in:
parent
02a6777f1b
commit
3d6aee54e3
1 changed files with 1 additions and 1 deletions
|
@ -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 date > /dev/tty2; docker ps > /dev/tty2; echo > /dev/tty2
|
||||
*/1 * * * * root clear > /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
|
||||
|
|
Loading…
Reference in a new issue