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

View File

@ -1205,6 +1205,8 @@ do_boot_order() {
fi fi
EECFG=$(mktemp) EECFG=$(mktemp)
vcgencmd bootloader_config > $EECFG 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 case "$BOOTOPT" in
B1*) B1*)
if ! grep -q "BOOT_ORDER" $EECFG ; then if ! grep -q "BOOT_ORDER" $EECFG ; then