diff options
| author | stanley lieber <stanley.lieber@gmail.com> | 2011-05-04 18:55:08 +0000 |
|---|---|---|
| committer | stanley lieber <stanley.lieber@gmail.com> | 2011-05-04 18:55:08 +0000 |
| commit | 0461c5843310c5c51bf43b0835f180492e32f579 (patch) | |
| tree | f26f48abfbde223adc9630d9becba10aa6f1f7b9 /rc/bin/inst/bootsetup | |
| parent | e9a55e0333d2da1f0f3a129310cf210684590494 (diff) | |
| download | plan9front-0461c5843310c5c51bf43b0835f180492e32f579.tar.xz | |
add cpu server to the installer; add more files for cpu server; make sure they are included on the cd-rom.
Diffstat (limited to 'rc/bin/inst/bootsetup')
| -rwxr-xr-x | rc/bin/inst/bootsetup | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup index 9e5c71d46..7de697850 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: copydist +# prereq: systype copydist switch($1) { case go @@ -18,9 +18,14 @@ case go } if(! test -f /tmp/plan9.ini) { + if(~ $syst cpu) + bootfile=9pccpuf + if not + bootfile=9pcf { - echo 'bootfile=9pcf' + echo 'bootfile='^$bootfile echo 'bootargs=local!'^$fs + echo 'sysname=cirno' echo 'mouseport='^$mouseport echo 'monitor='^$monitor echo 'vgasize='^$vgasize @@ -47,6 +52,7 @@ case go logprog cp /tmp/plan9.ini /n/9fat/plan9.ini logprog cp /n/newfs/386/9bootfat /n/9fat/9bootfat logprog cp /n/newfs/386/9pcf /n/9fat/9pcf + logprog cp /n/newfs/386/9pccpuf /n/9fat/9pccpuf echo echo 'There are myriad ways to boot a Plan 9 system.' |
