diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-09 20:43:04 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-09 20:43:04 +0000 |
commit | 3dc150e478469c5da627d886e95a7f57d461d827 (patch) | |
tree | 3fb7415a864c0f1ec0557c423efb8adf0cb19afa /rc/bin/inst/bootsetup | |
parent | e27c2203ef8f4801c7515a5eef08327a2e85d946 (diff) | |
download | plan9front-3dc150e478469c5da627d886e95a7f57d461d827.tar.xz |
fix * case
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 |