twylie;263987 Wrote: 
> shutdown/restart plugin here:
> 
> http://adrianonline.wordpress.com/projects/squeezebox/

If you are using the latest SC7 rpm, you will need to modify the
instructions to use "squeezecenter" and not "slimserver", and the
Plugins are in a different location.

Adrian's instructions amended for rpm:

And here is Gordon’s modifications which makes this plugin work with
Slimserver 7 on linux. This version is linux only and won’t work with
Win32.

Install the contents to /var/lib/squeezecenter/Plugins/PowerCtrl

Manually delete the /var/lib/squeezecenter/Cache/plugin-data.yaml
file.

As root, add the slimserver user to the /etc/shutdown.allow file:
touch /etc/shutdown
echo “slimserver” >>/etc/shutdown

edit the /etc/sudoers file:
Comment out the line with: Defaults requiretty

Add:

%squeezecenter ALL=NOPASSWD:/sbin/shutdown -h now
%squeezecenter ALL=NOPASSWD:/sbin/shutdown -r now

restart squeezecenter and voilà!

I've got this working OK on ClarkeConnect.

Thanks Adrian and Gordon.


-- 
Ramage

T5500 1.6GHz, SC 7.0 - 16880 Windows Vista, Alien 2.0b3
P4 2.6GHz, SC 7.0 - 16880 - Windows XP, Alien 2.0b5
P2 266MHz, ClarkConnect 4.1, SC 7.0 - 16638, Alien 2.0b5, perl 5.8.8
i686-linux-thread-multi
VMware (XPhost), InstantSC, SC7 - 16880, Alien 2.0b5
------------------------------------------------------------------------
Ramage's Profile: http://forums.slimdevices.com/member.php?userid=5343
View this thread: http://forums.slimdevices.com/showthread.php?t=42879

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to