Please check out ondemand script from ubuntu

Scott James Remnant scott at canonical.com
Mon Jul 6 10:39:29 UTC 2009


On Sat, 2009-07-04 at 10:31 +0900, Mattia Dongili wrote:

> On Fri, Jul 03, 2009 at 04:43:16PM +0200, Petter Reinholdtsen wrote:
> > Hi.  Please check the ondemand script in
> > <URL:http://patches.ubuntu.com/s/sysvinit/sysvinit_2.86.ds1-61ubuntu13.patch>.
> > In debian, that work is done by the cpufrequtils package you
> > maintainer, and I suspect it stay that way in Debian.  I believe
> > ubuntu did it this way to avoid having to pull in the cpufrequtils
> > package in every installation, but am not sure.
> 
> I have no idea why they did it either...
> Well, what is loading the processor specific and governor modules in
> Ubuntu? In Debian this is done by cpufrequtils' init scripts.
> 
The kernel loads them, itself.

> And then there is this which is odd:
> 
> +    background)
> +	sleep 60 # probably enough time for desktop login
> [...]
> 
> that leads you to this:
> https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/341573
> 
It should be obvious that this "ondemand" script is simply a temporary
hack.

Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20090706/35328c8c/attachment.pgp>


More information about the initscripts-ng-devel mailing list