From 3dc150e478469c5da627d886e95a7f57d461d827 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 9 Jun 2011 20:43:04 +0000 Subject: fix * case --- rc/bin/inst/bootsetup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rc/bin/inst/bootsetup') 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 -- cgit v1.2.3