Remove obsolete EEPROM config settings for boot order

This commit is contained in:
Simon Long 2020-06-22 13:30:34 +01:00
parent 06094eef3e
commit db6bb453c1
1 changed files with 2 additions and 0 deletions

View File

@ -1205,6 +1205,8 @@ do_boot_order() {
fi
EECFG=$(mktemp)
vcgencmd bootloader_config > $EECFG
sed $EECFG -i -e "/SD_BOOT_MAX_RETRIES/d"
sed $EECFG -i -e "/NET_BOOT_MAX_RETRIES/d"
case "$BOOTOPT" in
B1*)
if ! grep -q "BOOT_ORDER" $EECFG ; then