[mythtv-users] Set wakeuptime command not executing

Lane Schwartz dowobeha at gmail.com
Mon Nov 22 23:49:26 UTC 2004


I'm trying to get Myth to run nvram-wakeup to schedule proper wakeup
times for my box, based on recording schedules. It's not working. 
(Note: I can successfully set wakeup times using nvram-wakeup manually
from the command line).

I can get the box to shut down, but not wake up. It seems that
nvram-wakeup isn't getting run.

To confirm this, I created a script called /home/mythtv/test.sh:

#!/bin/sh

echo $1 >> /home/mythtv/result.txt


I then changed the settings in mythtvsetup to run /home/mythtv/test.sh
$time as the "Set wakeuptime command". I have monitored the contents
of /home/result.txt. The contents never change, which to me indicates
that the set wakeuptime command is never getting executed. I have
tried scheduling new recordings, exiting mythfrontend, entering
mythfrontend, letting myth shut the machine down, and manually
rebooting the machine. At no point does the set wakeuptime command get
run.

Here are the relevant settings from mythtvsetup:

Startup command:
Idle timeout (secs): 60
Max wait for recording (min): 15
Startup before rec (secs): 120
Wakeup time format: time_t
Set wakeuptime command: /home/mythtv/test.sh $time
Server halt command: sudo /sbin/shutdown -h 0
Pre-shutdown check-command: exit 0

Thanks,
Lane


-- 
"No, we've had no evidence that Saddam Hussein was involved in 9/11."
-- George W. Bush, 17 Sept 2003


More information about the mythtv-users mailing list