Skip to content

Commit 24c2427

Browse files
committed
firmware: fix RW_LEGACY disabled for EOL devices
Signed-off-by: Matt DeVillier <[email protected]>
1 parent 59b459e commit 24c2427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,8 +1329,8 @@ function stock_menu() {
13291329
read -e opt
13301330
case $opt in
13311331

1332-
1) if [[ "$unlockMenu" = true || "$isChromeOS" = true || "$isFullRom" = false \
1333-
&& "$isBootStub" = false && "$isUnsupported" = false && "$isEOL" = false ]]; then
1332+
1) if [[ "$unlockMenu" = true || "$isEOL" = false && ("$isChromeOS" = true \
1333+
|| "$isFullRom" = false && "$isBootStub" = false && "$isUnsupported" = false) ]]; then
13341334
flash_rwlegacy
13351335
fi
13361336
menu_fwupdate

0 commit comments

Comments
 (0)