mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Fix typo in boot order setting
This commit is contained in:
parent
4a55376c60
commit
fe6cd25dd2
@ -1192,9 +1192,9 @@ do_boot_order() {
|
||||
CURDATE=$(date -d "`vcgencmd bootloader_version | head -n 1`" +%Y%m%d)
|
||||
FILNAME="none"
|
||||
if grep -q "stable" /etc/default/rpi-eeprom-update ; then
|
||||
EEPATH = "/lib/firmware/raspberrypi/bootloader/stable/pieeprom*.bin"
|
||||
EEPATH="/lib/firmware/raspberrypi/bootloader/stable/pieeprom*.bin"
|
||||
else
|
||||
EEPATH = "/lib/firmware/raspberrypi/bootloader/critical/pieeprom*.bin"
|
||||
EEPATH="/lib/firmware/raspberrypi/bootloader/critical/pieeprom*.bin"
|
||||
fi
|
||||
for filename in $EEPATH ; do
|
||||
FILDATE=$(date -d "`echo $filename | cut -d - -f 2- | cut -d . -f 1`" +%Y%m%d)
|
||||
|
Loading…
Reference in New Issue
Block a user