I have recently stumbled across an Ubuntu article talking about powernap
and how it calls a simple script to move your server into powersaving
mode whilst enabling wake on lan and doing all the housekeeping. Wow,
isn't this what everyone was waiting for??
Calling /etc/powernap/actions manually works like a charm. Wol works
too...
Why can't we use this on our favorite toy??. Looking at the standard
PreventStandby plugin gave me the idea to modify the code and tweak the
code to call the script automatically.
The only thing that needs changing is calling win::api only when it's a
windows machine (Slim::Utils::OSDetect::OS() = "win") and calling
powernap when on Linux. (system("/etc/powernap/actions");)
I have already made all the necessary changes and replace the win::api
call that prevented but since I don't speak pearl it's a real pain...
Can anyone help with this:
How do I debug a Squeezecenter plugin?
Can you debug online?
What pearl ide to use? (I use notepad++)
All support is appreciated.
Cheers
--
Nazz
------------------------------------------------------------------------
Nazz's Profile: http://forums.slimdevices.com/member.php?userid=8972
View this thread: http://forums.slimdevices.com/showthread.php?t=75396
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix