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.
_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to