From: Ben Gras Date: Tue, 13 Sep 2005 13:41:33 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~99 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=95086b988bd7ba5649b9050f702aaeffb39a3640;p=minix.git *** empty log message *** --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 014e20c81..43593ad34 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -404,7 +404,7 @@ echo " --- Step 6: Select the size of /home ----------------------------------" while [ -z "$homesize" ] do - # 20% of what is left over after /home and /usr + # 20% of what is left over after / and /usr # are taken. defmb="`expr $maxhome / 5`" if [ "$defmb" -gt "$maxhome" ] @@ -424,6 +424,7 @@ echo " --- Step 6: Select the size of /home ----------------------------------" else if [ "$homesize" -gt "$maxhome" ] then echo "That won't fit!" + homesize="" else echo -n "$homesize MB Ok? [Y] " read ok