On Mon, 3 Aug 2020, Todd Benivegna wrote:
Thank you! Sorry for another bonehead question…. Do I replace <myups> with
the IP address of the NUT Server/Synology? I’m assuming I would use this
version for use in Dash with Ubuntu, correct?
Yes, you replace <myups> with the address of your UPS, for example
"[email protected]". Are you using Dash or Bash? If it's Dash, the function
getUPSstatus probably goes into .profile .
Test on the command line before modifying SHUTDOWNCMD by typing the commands
getUPSstatus <myups>
echo "UPS status is $UPSstatus"
You should see "UPS status is [OL]:100".
Roger
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser