From: Ben Gras Date: Thu, 19 Mar 2009 14:14:57 +0000 (+0000) Subject: make USRMB settable X-Git-Tag: v3.1.4~96 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=d8d63f0e07869ada7acca8222b7e031c70a9bfdc;p=minix.git make USRMB settable --- diff --git a/tools/release.sh b/tools/release.sh index c1eedd14c..c377a48f3 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -135,7 +135,12 @@ do esac done -USRMB=550 +if [ ! "$USRMB" ] +then USRMB=550 +fi + +echo $USRMB MB + USRKB=$(($USRMB*1024)) USRBLOCKS=$(($USRMB * 1024 * 1024 / $BS)) USRSECTS=$(($USRMB * 1024 * 2))