<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Roger,<div><br></div><div>I did and it didnt work.</div><div><br></div><div>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?</div><div><br></div><div>Cheers,</div><div><br></div><div>James</div><div><br></div><br><div>Date: Mon, 27 Apr 2015 15:03:44 +0200<br>From: roger@rogerprice.org<br>To: nut-upsuser@lists.alioth.debian.org<br>Subject: Re: [Nut-upsuser] upssched setup<br><br><pre>On Mon, 27 Apr 2015, James Hammond wrote:<br> <br>> I am unable to get upssched working correctly as my UPS calls low <br>> battery too late and there is no way to change it. I am running Nut <br>> 2.7.3 on Ubuntu 14.04 I have made this script, called <br>> /sbin/upssched-cmd.sh<br>> <br>> #!/bin/sh<br>>  case $1 in<br>>    onbatt)<br>>      /sbin/upsmon -c fsd;;<br>>    *)<br>>      echo "shutdown implemented";;<br>>  esac<br> <br>Hi, Just wondering, do you have a line in upssched.conf which specifies <br>CMDSCRIPT /sbin/upssched-cmd.sh ?<br> <br>Roger<br></pre><br>_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</div>                                           </div></body>
</html>