[Nut-upsuser] upssched setup
James Hammond
james_r_hammond at hotmail.com
Mon Apr 27 13:17:10 UTC 2015
Roger,
I did and it didnt work.
Hence why I was trying to run just the shell script manually. I am not sure if this works though with the timer defined in it?
Cheers,
James
Date: Mon, 27 Apr 2015 15:03:44 +0200
From: roger at rogerprice.org
To: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] upssched setup
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
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150427/84198d54/attachment.html>
More information about the Nut-upsuser
mailing list