[mythtv-users] Best way to suspend mythfrontend

Gregg 3gemail at gmail.com
Thu Feb 12 16:06:56 UTC 2009

> replace shutdown command with your command, i.e. path to your suspend script.
> or you can use a button from your remote to run suspend with irexec.
> your script should just run this:
> #!/bin/sh
> # rmmod module1 module2 ....
> echo mem >/sys/power/state
> if it does not work, check the logs and remove the modules (which are
> causing problems) before the command from above.
> If you have more hardware in your myth system, there are probably more
> problems. I have 3 tv-tuners and they just stop working after waking
> up from suspend.

The script works if I run as root.  How do I give access to my mythv
user to run it as root.  I tried su -c, but it gives a permission



More information about the mythtv-users mailing list