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/bootsetup | |
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/bootsetup')
-rwxr-xr-x | rc/bin/inst/bootsetup | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup index 71175960d..798b08bfa 100755 --- a/rc/bin/inst/bootsetup +++ b/rc/bin/inst/bootsetup @@ -29,7 +29,7 @@ case go } need9fatformat=no - if(! isfat $fat) + if(! ~ `{fstype $fat} dos) need9fatformat=yes if(! test -f /srv/dos) dossrv @@ -70,7 +70,8 @@ case go case checkdone xxxfat=(/dev/sd*/9fat) - if(! isfat $xxxfat(1) || ! ~ $didbootsetup 1){ + xxxfat=$xxxfat(1) + if(! ~ `{fstype $xxxfat} dos || ! ~ $didbootsetup 1){ bootsetup=ready export bootsetup } |