diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-02 03:01:52 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-02 03:01:52 +0000 |
commit | 7d87f85671fa453b83edbf578d5324c8f354850c (patch) | |
tree | f65ff05f9e256a801d0022be8731b7886d82cdab /rc/bin/inst/download | |
parent | fa9a40027b8ced000ea1c3d2dc5ed8eb44c6ad90 (diff) | |
download | plan9front-7d87f85671fa453b83edbf578d5324c8f354850c.tar.xz |
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
Diffstat (limited to 'rc/bin/inst/download')
-rwxr-xr-x | rc/bin/inst/download | 12 |
1 files changed, 5 insertions, 7 deletions
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 } |