I would like to display a
whiptail 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
#!/bin/bash /usr/bin/whiptail --infobox 'Hello World.' 7 25 >/dev/tty1
Is there a trick, or should I avoid using whiptail?