[Nut-upsuser] upssched setup
Roger Price
roger at rogerprice.org
Mon Apr 27 13:03:44 UTC 2015
On Mon, 27 Apr 2015, James Hammond wrote:
> I am unable to get upssched working correctly as my UPS calls low
> battery too late and there is no way to change it. I am running Nut
> 2.7.3 on Ubuntu 14.04 I have made this script, called
> /sbin/upssched-cmd.sh
>
> #!/bin/sh
> case $1 in
> onbatt)
> /sbin/upsmon -c fsd;;
> *)
> echo "shutdown implemented";;
> esac
Hi, Just wondering, do you have a line in upssched.conf which specifies
CMDSCRIPT /sbin/upssched-cmd.sh ?
Roger
More information about the Nut-upsuser
mailing list