aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-30 15:40:33 +0000
committerBill Nottingham <notting@redhat.com>1999-09-30 15:40:33 +0000
commit51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac (patch)
tree141aefad7f20aabb212d747401e1d89afd3dc9d9 /rc.d
parent71dba6c399c18c4cc9550298f2811b524d8eb07d (diff)
downloadinitscripts-51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac.tar
initscripts-51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac.tar.gz
initscripts-51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac.tar.bz2
initscripts-51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac.tar.xz
initscripts-51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac.zip
wow, that was broken. I wonder how it worked before.
Diffstat (limited to 'rc.d')
-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 fcfe0e7a..72e00b82 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=`grep -cl "^cpu[0-9]+" /proc/stat`
+ NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`
if [ "$NUMPROC" -gt "1" ]; then
SMP="$NUMPROC-processor "
if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then