From 51e63cf55d5b6511a50fea3cf9a4a617f0ac07ac Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 30 Sep 1999 15:40:33 +0000 Subject: wow, that was broken. I wonder how it worked before. --- rc.d/rc.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/rc.local') 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 -- cgit v1.2.1