On Sun, 26 May 2019, Mike Dillinger wrote:
function MyLogging () {
echo "$1"
logger -t $SCRIPT $1
}
If you need to keep a close eye on what is happening, you could also add an
on-screen notification of impending shutdown to all logged-in users using
notify-send. Doing this for NUT is non-obvious - I documented my solution in
Appendix C at http://rogerprice.org/NUT/ConfigExamples.A5.pdf#appendix.C
Roger
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser