mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +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)
|
CURDATE=$(date -d "`vcgencmd bootloader_version | head -n 1`" +%Y%m%d)
|
||||||
FILNAME="none"
|
FILNAME="none"
|
||||||
if grep -q "stable" /etc/default/rpi-eeprom-update ; then
|
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
|
else
|
||||||
EEPATH = "/lib/firmware/raspberrypi/bootloader/critical/pieeprom*.bin"
|
EEPATH="/lib/firmware/raspberrypi/bootloader/critical/pieeprom*.bin"
|
||||||
fi
|
fi
|
||||||
for filename in $EEPATH ; do
|
for filename in $EEPATH ; do
|
||||||
FILDATE=$(date -d "`echo $filename | cut -d - -f 2- | cut -d . -f 1`" +%Y%m%d)
|
FILDATE=$(date -d "`echo $filename | cut -d - -f 2- | cut -d . -f 1`" +%Y%m%d)
|
||||||
|
Loading…
Reference in New Issue
Block a user