Sample Header Ad - 728x90

Displaying messages to tty using whiptail through monit

2 votes
2 answers
2075 views
I would like to display a [whiptail](http://manpages.ubuntu.com/manpages/intrepid/man1/whiptail.1.html) message on the login screen that is triggered by monit, but I am without luck. I understand it might be something to do with interactive/non-interactive shell. Here is the script that gets triggered by monit. #!/bin/bash /usr/bin/whiptail --infobox 'Hello World.' 7 25 >/dev/tty1 Is there a trick, or should I avoid using whiptail?
Asked by Yuri (121 rep)
Jul 24, 2013, 11:59 PM
Last activity: Apr 18, 2025, 05:04 AM