I don't know much about scripts but just exchanged my Clarkconnect setup for Debian and setup is very easy:
- Extract the SrvrPowerCtrl zip file and copy the folder to the Plugin folder (/var/lib/squeezecenter/Plugins). I use WinSCP for that, a nice program to connect to your server when it runs headless. - I don't know if this is necessary but to make sure it works i set the rights to the SrvrPowerCtrl folder to anyone (chmod -R 777 var/lib/squeezecenter/Plugins/SrvrPowerCtrl) - You have to give Squeezecenter rights to shutdown/reboot the server, so first install sudo (apt-get install sudo), then change the sudoers file by entering the command: visudo, then add these lines at the bottom of the file: # give squeezecenter rights to shutdown/reboot the server squeezecenter ALL = NOPASSWD: /sbin/shutdown* (For other commmands like suspend/hibernate create another line with the respective commands) - Restart Squeezecenter (/etc/init.d/squeezecenter restart) - Enable the plugin on the squeezecenter webinterface and restart squeezecenter again. Now you can go to the plugin settings in the webinterface. The proper commands for shutdown are: sudo /sbin/shutdown -h now and for reboot: sudo /sbin/shutdown -r now That's it. -- raven22 ------------------------------------------------------------------------ raven22's Profile: http://forums.slimdevices.com/member.php?userid=16511 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
