mirror of https://github.com/aredn/aredn.git
admin page: Fix validateFirmwareFilename() for underscore in ath79 filenames (#161)
This commit is contained in:
parent
1fd909b18d
commit
837a3c602c
|
@ -9,3 +9,4 @@ Eric Satterlee - KG6WXC <kg6wxc@gmail.com>
|
||||||
Ray Suelzer - KK6RAY <rsuelzer@gmail.com>
|
Ray Suelzer - KK6RAY <rsuelzer@gmail.com>
|
||||||
Steve Lewis - AB7PA <ab7pa.radio@gmail.com>
|
Steve Lewis - AB7PA <ab7pa.radio@gmail.com>
|
||||||
Tim Wilkinson - KN6PLV <tim.j.wilkinson@gmail.com>
|
Tim Wilkinson - KN6PLV <tim.j.wilkinson@gmail.com>
|
||||||
|
Phil Crump - M0DNY <phil@philcrump.co.uk>
|
||||||
|
|
|
@ -634,7 +634,7 @@ print <<EOF;
|
||||||
searchstring= ".*wbs" + hwtype + "-sysupgrade.bin$\";
|
searchstring= ".*wbs" + hwtype + "-sysupgrade.bin$\";
|
||||||
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.bin";
|
efn = "aredn-$fw_version-$mfgprefix${hardwaretypev}-sysupgrade.bin";
|
||||||
} else {
|
} else {
|
||||||
searchstring= ".*-" + hwtype + "-sysupgrade.bin$\";
|
searchstring= ".*(-|_)" + hwtype + "-sysupgrade.bin$\";
|
||||||
efn = "aredn-$fw_version-$mfgprefix-${hardwaretypev}-sysupgrade.bin";
|
efn = "aredn-$fw_version-$mfgprefix-${hardwaretypev}-sysupgrade.bin";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue