From 7d87f85671fa453b83edbf578d5324c8f354850c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 2 May 2011 03:01:52 +0000 Subject: inst: reintroduce iso mounting for usb, replace /rc/bin/inst/isxxx with /rc/bin/fstype, remove fossil/venti specific code, rename plan9.iso to 9front.iso --- rc/bin/inst/download | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'rc/bin/inst/download') diff --git a/rc/bin/inst/download b/rc/bin/inst/download index 2af4fe9d0..6a070e8ef 100755 --- a/rc/bin/inst/download +++ b/rc/bin/inst/download @@ -33,22 +33,20 @@ case go baropt='-w 145,129,445,168' if(~ $textinst 1) baropt=-t - if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^plan9.iso.bz2) + mkdir -p /n/newfs/dist + if(! hget -vo /n/newfs/dist/_9front.iso.bz2 $installurl/9front.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^9front.iso.bz2) exit - mv /n/newfs/dist/_plan9.iso.bz2 /n/newfs/dist/plan9.iso.bz2 - if(~ $fstype fossil){ - echo fsys main sync >>/srv/fscons - } + mv /n/newfs/dist/_9front.iso.bz2 /n/newfs/dist/9front.iso.bz2 echo 'The distribution is downloaded.' srvmedia=() - mountmedia=(mount /srv/fossil /n/distmedia) + mountmedia=(mount /srv/cwfs /n/distmedia) distmediadir=/dist export distmediadir mountmedia distmedia case checkdone - if(! test -f /n/newfs/dist/plan9.iso.bz2) { + if(! test -f /n/newfs/dist/9front.iso.bz2) { download=notdone export download } -- cgit v1.2.3