mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Remove obsolete EEPROM config settings for boot order
This commit is contained in:
parent
06094eef3e
commit
db6bb453c1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user