From 0461c5843310c5c51bf43b0835f180492e32f579 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 4 May 2011 18:55:08 +0000 Subject: add cpu server to the installer; add more files for cpu server; make sure they are included on the cd-rom. --- rc/bin/inst/bootsetup | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'rc/bin/inst/bootsetup') 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.' -- cgit v1.2.3