diff options
Diffstat (limited to 'rc/bin/inst/bootsetup')
-rwxr-xr-x | rc/bin/inst/bootsetup | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup index 0e1a034be..3b34c7ff0 100755 --- a/rc/bin/inst/bootsetup +++ b/rc/bin/inst/bootsetup @@ -3,7 +3,11 @@ # desc: create a boot floppy or configure hard disk to boot plan 9 # prereq: systype copydist -fats=(/dev/sd*/9fat) +fats=() +for(i in /dev/sd*/9fat){ + if(test -f $i) + fats=($fats $i) +} switch($1) { case checkdone checkready |