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 monit.#!/bin/bash/usr/bin/whiptail --infobox 'Hello World.' 7 25 >/dev/tty1Is there a trick, or should I avoid using whiptail?
Displaying messages to tty using whiptail through monit
shell;whiptail;monit