aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.local')
-rwxr-xr-xrc.d/rc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.local b/rc.d/rc.local
index 1f3bda03..5e60998b 100755
--- a/rc.d/rc.local
+++ b/rc.d/rc.local
@@ -14,7 +14,7 @@ if [ -f /etc/redhat-release ]; then
_i*) a="an";;
esac
- NUMPROC=$[`cat /proc/cpuinfo | grep ^processor | wc -l`]
+ NUMPROC=$[`cat /proc/cpuinfo | grep -i ^bogomips | wc -l`]
if [ $NUMPROC -gt 1 ]; then
SMP="$NUMPROC-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then