Hi, Thankx for this great plugin!
I installed SrvrPowerCtrl (beta) at my SqueezeboxServer7.7.2 (on Debian6.0.4). Now I've two questions: 1: I would like to use the CPU-load option to prevent the server from going to suspend when working with the server. My CPU-load is around 0.1 at idle and between 0.2 and 0.8 in part load. How can I set the value to 0.15? Obviously only integers are allowed. 2: I use the server as multimedia and internet desktop as well. So I wrote a little script to prevent suspending when I work with epiphany or amarok. That is my code: #!/bin/bash declare -i progactive progactive=0 progactive=$(pgrep epiphany || pgrep amarok) if (($progactive>0)) then exit 1 else exit 0 fi This works well except epiphany or amarok crashes. Pgrep still returns a PID. Anyone knows a better solution? I'm not a programmer anyway ;-) Thanks a lot. Snoopy81 ------------------------------------------------------------------------ Snoopy81's Profile: http://forums.slimdevices.com/member.php?userid=56345 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
