[mythtv-users] MythTV Frontend shutdown
Peter Øgaard Meyland
peter at meyland.dk
Tue May 13 20:22:46 UTC 2008
Ryan Pisani skrev:
>> Hi all
>> I have a combo FE / BE in the livingroom and a FE Only in the bedroom.
>> My problem is that i can't shutodown the FE from within MythTV. Every
>> time i select Shutdown in the mainmenu nothing happends.
>> I have done the following:
>> 1 I have enabled SHUTDOWN in mainmenu.xml
>> 2 As HaltCommand I have entered 'sudo /sbin/shutdown -h now' (I
>> guess that SHUTDOWN is executing this)
> Try providing the full path to sudo in your shutdown command.
> /usr/bin/sudo (or where ever you have it installed) /sbin/shutdown -h now
>> 3 Using visudo I have entered the following line mythUser
>> ALL=NOPASSWD: /sbin/shutdown, /sbin/poweroff, /sbin/reboot, /sbin/halt
>> The user MythUser can execute the command 'sudo /sbin/shutdown -h now'
>> from a terminal windows and everything works, but not from within
>> MythFrontend. What am I doing wrong?
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
> mythtv-users mailing list
> mythtv-users at mythtv.org
Providing the absolute path to sudo did not work, the result are the same.
I think I can live with the script solution, it works right now :-)
Thanks for the help
More information about the mythtv-users