|
4 | 4 | # |
5 | 5 | # Original Creation Date: 2023-Oct-01 by @ExtremeFiretop. |
6 | 6 | # Official Co-Author: @Martinski W. - Date: 2023-Nov-01 |
7 | | -# Last Modified: 2024-May-31 |
| 7 | +# Last Modified: 2024-Jun-01 |
8 | 8 | ################################################################### |
9 | 9 | set -u |
10 | 10 |
|
@@ -236,7 +236,7 @@ _DoExit_() |
236 | 236 | ## Modified by Martinski W. [2024-May-31] ## |
237 | 237 | ##----------------------------------------## |
238 | 238 | ## To support new "3006" F/W Basecode ## |
239 | | -if [ "$fwInstalledBaseVers" -eq 3006 ] |
| 239 | +if [ "$fwInstalledBaseVers" -ge 3006 ] |
240 | 240 | then readonly nvramLEDsVar=AllLED |
241 | 241 | else readonly nvramLEDsVar=led_disable |
242 | 242 | fi |
@@ -1718,26 +1718,6 @@ if false ; then echo "3004.388.6.2" ; return 0 ; fi |
1718 | 1718 | echo "$theVersionStr" |
1719 | 1719 | } |
1720 | 1720 |
|
1721 | | -##----------------------------------------## |
1722 | | -## Modified by Martinski W. [2024-May-31] ## |
1723 | | -##----------------------------------------## |
1724 | | -_GetCurrentFWInstalledShortVersion_() |
1725 | | -{ |
1726 | | - |
1727 | | -##FOR TESTING/DEBUG ONLY## |
1728 | | -if false ; then echo "388.6.2" ; return 0 ; fi |
1729 | | -##FOR TESTING/DEBUG ONLY## |
1730 | | - |
1731 | | - local theVersionStr extVersNum |
1732 | | - |
1733 | | - extVersNum="$(echo "$fwInstalledExtendNum" | awk -F '-' '{print $1}')" |
1734 | | - echo "$extVersNum" | grep -qiE "^(alpha|beta)" && extVersNum="0_$extVersNum" |
1735 | | - [ -z "$extVersNum" ] && extVersNum=0 |
1736 | | - |
1737 | | - theVersionStr="${fwInstalledBuildVers}.$extVersNum" |
1738 | | - echo "$theVersionStr" |
1739 | | -} |
1740 | | - |
1741 | 1721 | ##----------------------------------------## |
1742 | 1722 | ## Modified by Martinski W. [2024-Mar-31] ## |
1743 | 1723 | ##----------------------------------------## |
|
0 commit comments