summaryrefslogtreecommitdiff
path: root/rc/bin/inst/bootsetup
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/inst/bootsetup')
-rwxr-xr-xrc/bin/inst/bootsetup7
1 files changed, 2 insertions, 5 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup
index 85b79a49c..d68989adb 100755
--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -1,7 +1,7 @@
#!/bin/rc
# desc: create a boot floppy or configure hard disk to boot plan 9
-# prereq: systype copydist
+# prereq: copydist
fats=()
for(i in /dev/sd*/9fat){
@@ -31,10 +31,7 @@ case go
export 9fat
if(! test -f /tmp/plan9.ini) {
- if(~ $syst cpu)
- bootfile=9pccpuf
- if not
- bootfile=9pcf
+ bootfile=9pcf
@{
echo 'bootfile='^$bootfile
echo 'bootargs=local!'^$fs' '$"fsflags