SOURCES: irqbalance.init - use functions - add chkconfig - actuall...

Paweł Gołaszewski blues at pld-linux.org
Thu Dec 14 10:19:49 CET 2006


On Wed, 13 Dec 2006, Elan Ruusamäe wrote:
> > > +if [ "$(LC_ALL=C grep "^processor.*:.*[0-9]" /proc/cpuinfo | wc -l)" -lt 2 ]; then +	exit 0
> > > +fi
> > Well...
> >
> > The test should only check if kernel is SMP. CPU alone can be 
> > hotpluged and you can start with only one.
> on the topic, how you check if kernel is smp? matcing smp from `uname 
> -r` ?

Maybe rpm has some uname-provides? Because it should be required for 
instalation...

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list