diff options
author | Bill Nottingham <notting@redhat.com> | 1999-07-15 20:54:28 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-07-15 20:54:28 +0000 |
commit | b0ede98a468780a0c83676bbc9a2f0ac17ce34e2 (patch) | |
tree | 1ae92fe713a474d1287b3a54b00a1f9d4fe2bb82 | |
parent | b211988bfbeeb4bb2dd90c98522576c5a69789bc (diff) | |
download | initscripts-b0ede98a468780a0c83676bbc9a2f0ac17ce34e2.tar initscripts-b0ede98a468780a0c83676bbc9a2f0ac17ce34e2.tar.gz initscripts-b0ede98a468780a0c83676bbc9a2f0ac17ce34e2.tar.bz2 initscripts-b0ede98a468780a0c83676bbc9a2f0ac17ce34e2.tar.xz initscripts-b0ede98a468780a0c83676bbc9a2f0ac17ce34e2.zip |
"processor" isn't common to all architectures. But bogomips is! :)
-rwxr-xr-x | rc.d/rc.local | 2 |
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 |