And here is a modification which makes this plugin work with Slimserver
7 on linux.  This version is linux only and won't work with Win32.

Install this to /usr/local/slimserver/Plugins/PowerCtrl

Manually delete the /usr/local/slimserver/Cache/plugin-data.yaml file.

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

Add:

%slimserver ALL=/sbin/shutdown -h now
%slimserver ALL=/sbin/shutdown -r now


+-------------------------------------------------------------------+
|Filename: PowerCtrl-linux.zip                                      |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=2680|
+-------------------------------------------------------------------+

-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=32674

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

Reply via email to