From: Ben Gras Date: Wed, 31 Aug 2005 16:46:24 +0000 (+0000) Subject: autopart return stuff fix X-Git-Tag: v3.1.0~222 X-Git-Url: http://zhaoyanbai.com/repos/doc/static/zpipe.c?a=commitdiff_plain;h=0c96b9e85e51d9072126af704c044d492e0b8c5e;p=minix.git autopart return stuff fix --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 80fc7d3c9..6f5962ffb 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -189,8 +189,9 @@ Please finish the name of the primary partition you have created: if autopart -f$PF then if [ -s "$PF" ] then - bd="`cat $PF`" - cat "$PF" | read bd bdn + set `cat $PF` + bd="$1" + bdn="$2" biosdrivename="Probably, the right command is \"boot $bdn\"." if [ -b "/dev/$bd" ] then primary="$bd"