mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
nuageinit: be case insentive when looking got labels
Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
This commit is contained in:
parent
5c318f5ce3
commit
9eae9233fd
|
@ -22,12 +22,12 @@ nuageinit_start()
|
|||
# it either formatted in vfat or iso9660 and labeled
|
||||
# config-2
|
||||
for f in iso9660 msdosfs; do
|
||||
drive=/dev/$f/config-2
|
||||
drive="/dev/$f/[cC][oO][nN][fF][iI][gG]-2"
|
||||
if [ -e $drive ]; then
|
||||
citype=config-2
|
||||
break
|
||||
fi
|
||||
drive=/dev/$f/cidata
|
||||
drive="/dev/$f/[cC][iI][dD][aA][tT][aA]"
|
||||
if [ -e $drive ]; then
|
||||
citype=nocloud
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue