[PC-BSD Commits] r12624 - pcbsd/current/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Tue Sep 6 08:46:53 PDT 2011


Author: kris
Date: 2011-09-06 08:46:53 -0700 (Tue, 06 Sep 2011)
New Revision: 12624

Modified:
   pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh
Log:

Relax the 512MB ram check a bit, since many 512 systems will show slightly less than the full 512 a available



Modified: pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh	2011-09-06 15:39:21 UTC (rev 12623)
+++ pcbsd/current/mfsroot-overlay/etc/pcbsd-rc.sh	2011-09-06 15:46:53 UTC (rev 12624)
@@ -137,7 +137,7 @@
 
 # Do a check of available memory  
 sysMem=`/sbin/sysctl hw.realmem | /bin/cut -d ' ' -f 2`
-minSize=`/bin/expr 512 \* 1024 \* 1024`
+minSize=`/bin/expr 500 \* 1024 \* 1024`
 if [ $sysMem -lt $minSize ] ; then
         echo "Warning: PC-BSD requires a minimum of 512MB of RAM for optimal performance."
         echo "You may experience problems with less than this ammount."



More information about the Commits mailing list