]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorBen Gras <ben@minix3.org>
Wed, 31 Aug 2005 16:48:46 +0000 (16:48 +0000)
committerBen Gras <ben@minix3.org>
Wed, 31 Aug 2005 16:48:46 +0000 (16:48 +0000)
commands/scripts/setup.sh

index 6f5962ffbc2bc81b29b3c1e4267e28d38801fe2b..60581b3e2318438e9d48389c77ab73cc5273ea4a 100755 (executable)
@@ -287,14 +287,17 @@ then
        # end Step 3
 fi
 
+defmb=200
+
 if [ ! "$auto" = r ]
 then   homesize=""
        while [ -z "$homesize" ]
        do
                echo ""
-               echo -n "How big do you want your /home to be, in MB? "
-               read home
-               echo -n "$home MB Ok? [Y] "
+               echo -n "How big do you want your /home to be, in MB? [$defmb] "
+               read homesize
+               if [ "$homesize" = "" ] ; then homesize=$defmb; fi
+               echo -n "$homesize MB Ok? [Y] "
                read ok
                [ "$ok" = Y -o "$ok" = y -o "$ok" = "" ] || homesize=""
                echo ""