Minor cleanup, including sysctl -n instead of sed to remove the sysctl

name.

Reviewed by:	imp
This commit is contained in:
emaste 2010-10-19 15:12:16 +00:00
parent 055bfca262
commit adec94f194

View File

@ -25,7 +25,4 @@
#
# $FreeBSD$
MEM=`sysctl hw.realmem | sed "s|hw.realmem: ||g"`
MEM=`expr $MEM / 1024`
MEM=`expr $MEM / 1024`
echo $MEM
expr $(sysctl -n hw.realmem) / 1048576