Minor cleanup, including sysctl -n instead of sed to remove the sysctl
name. Reviewed by: imp
This commit is contained in:
parent
055bfca262
commit
adec94f194
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user