summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-06-09 21:14:14 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-06-09 21:14:14 +0000
commite1e174fecdf36b0e96cbeae462a8b8c5eebed7fe (patch)
tree8161fdcd1e9abe2626738f81dbd71a0d3c5b1be5
parent3dc150e478469c5da627d886e95a7f57d461d827 (diff)
downloadplan9front-e1e174fecdf36b0e96cbeae462a8b8c5eebed7fe.tar.xz
fix mistake
-rwxr-xr-xrc/bin/inst/bootsetup6
1 files changed, 4 insertions, 2 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup
index 3b34c7ff0..804e2e49b 100755
--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -29,7 +29,7 @@ case go
prompt $default 'Plan 9 FAT partition' $fats
9fat=$rd
export 9fat
-
+
if(! test -f /tmp/plan9.ini) {
if(~ $syst cpu)
bootfile=9pccpuf
@@ -85,8 +85,10 @@ case go
oldbootsetup=$didbootsetup
didbootsetup=1
export didbootsetup
+
prompt 'Enable boot method' plan9 winnt
-
+
+ disk=`{basename -d $9fat}
if(! boot$rd){
didbootsetup=$oldbootsetup
export didbootsetup