Have a look at the 1st page of the 'giant thread for srvPowerControl' (http://forums.slimdevices.com/showthread.php?t=48521) for the latest info.
Fact is, sudo works in a totally standard way under X 10.5. (and 10.6 I guess.) I had posted in the thread a launchd daemon that runs privileged commands on behalf of a local Squeezebox Server. nc or telnet to replace sudo. That was an overkill, but actually I didn't try the sudoers route beforehand... So the code is there in the thread, just in case. Since 99% macs are desktop machines, Gharris999 has included a little trick that blocks server shutdown commands as long as you're logged in (uses logon/logout hooks). So the server never shuts down on you when you have a session and possibly documents open. Logout to the login window and srvPowerControl will sleep the mac if the players are inactive. The mac is the 1st platform to have this. X11/Gnome desktops should follow suit I guess. That's a very nice feature set, IMHO. And since the mac is so reliable at doing sleep/wake, using the plugin makes a lot of sense on this platform. May I ask what other tasks you run via your scripts ? (I will check 10.6 later, probably around 10.6.2. But I think Gharris999 has a mac as well.) -- epoch1970 ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=69121 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
