4 # desc: download or continue to download the distribution archives
8 devs=(`{cat /net/ipifc/*/status >[2]/dev/null |
9 grep -v '127\.0\.0\.1' |
15 if(~ $mountdist done){
21 # BUG make restartable
22 echo 'Downloading distribution package...'
23 baropt='-w 145,129,445,168'
26 mkdir -p /n/newfs/dist
27 if(! hget -vo /n/newfs/dist/_9front.iso.bz2 $installurl/9front.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^9front.iso.bz2)
29 mv /n/newfs/dist/_9front.iso.bz2 /n/newfs/dist/9front.iso.bz2
31 echo 'The distribution is downloaded.'
34 mountmedia=(mount /srv/cwfs /n/distmedia)
36 export distmediadir mountmedia distmedia
39 if(! test -f /n/newfs/dist/9front.iso.bz2) {