search for: peppermill

Displaying 1 result from an estimated 1 matches for "peppermill".

2021 Mar 07
1
Request For Additional Status Confirmation
...w that the Pi is operational again after upsmon has shutdown the Pi and then the UPS has had power restored to it. I created a script called "reboot_notify" and saved it in usr/local/bin, and it looks like this: #!/bin/sh echo ?Rpi has booted into operation? | mail -s "Alert from Peppermill RPi" [my email address] echo "Rpi has booted into operation" | mail -s "Alert from Peppermill RPi" [email address for text messages] I read that scripts placed in "rc.local" get run at boot, so I edited /etc/rc.local like this #!/bin/sh -e # # rc.local # # Th...