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/bootsetup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rc/bin/inst/bootsetup') 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 } -- cgit v1.2.3