I'd rather use:

if [  -n "`uname -a | grep SMP`" ]; then echo SMP; else echo UP; fi

As it doesn't matter that much to a module whether there is more than
one CPU or not, as it matters whether the kernel was compiled with SMP
or not.



-- Tomek,



-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to