[Nut-upsuser] Shutdown script does not trigger

Roger Price roger at rogerprice.org
Tue Nov 16 15:38:04 UTC 2010


On Tue, 16 Nov 2010, Rémi Lavergne wrote:

> /etc/nut/upssched.conf :
> CMDSCRIPT /etc/nut/sched/upssched.sh (this script exists but seems never to 
> be executed...)

Hello Rémi, what are the ownership and permissions on file
/etc/nut/sched/upssched.sh ?  Try adding the lines

   # Debugging: Log all calls to this script
   logger -t upssched-sh Calling upssched-sh $1

at the top of upssched.sh.  You will see a trace of the script calls 
in /var/log/messages.

Roger


More information about the Nut-upsuser mailing list