[mythtv-users] How to debug wake up script

Greg ghaywood at gmail.com
Sat Mar 29 03:43:21 UTC 2008


I am struggling with what should be easy.

I am attempting to setup wakeup, I can manually set the
/proc/acpi/alarm just using a cat '2008.03.29 etc' > /procacpi/alarm
and shutdown teh system. This will then start ok.

I have the script in my myth setup using "sudo
/usr/local/bin/my-wakeup.sh $time" and the mythtv user is set sudo
NOPASSWD for the script, but it does not appear to be run on mythtv
shutdown.

In the script it also writes a time stamp to a plain text file and
that does not get written so I know it's not running.

The script can be run with sudo /usr/local/bin/my-wakeup.sh on the
command line and it works and writes to the acpi alarm and my text
file..

How can I debug to find out error messages? I cannot find anything in
my /var/log/messages and am now stuck.

Thanks for any help on this.

-Greg

-- 

http://www.virtualcellardoor.com/
Cellar Door wine - Cellar Door prices


More information about the mythtv-users mailing list