We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dab69b commit 786cba2Copy full SHA for 786cba2
SD/Pi-FlashUSB.sh
@@ -54,13 +54,9 @@ elif [ "$DEVICE" = "nvme0n1" ]; then
54
echo -e "[all]\nBOOT_ORDER=${BOOT_ORDER}" > /tmp/boot.conf
55
56
# Apply the configuration using the rpi-eeprom-config tool
57
- sudo rpi-eeprom-config --config /tmp/boot.conf --out /tmp/new-eeprom.bin
+ sudo rpi-eeprom-config --apply /tmp/boot.conf
58
59
- # Flash the EEPROM with the new configuration
60
- sudo rpi-eeprom-update -d -f /tmp/new-eeprom.bin
61
-
62
- # Clean up
63
- rm /tmp/boot.conf /tmp/new-eeprom.bin
+ rm /tmp/boot.conf
64
65
echo "BOOT_ORDER set to ${BOOT_ORDER}."
66
0 commit comments