[BOARD] reboot if firstboot.custom.sh is present

This commit is contained in:
Apaczer
2023-07-19 14:04:39 +02:00
committed by GitHub
parent cd078d2b55
commit dd4ecafde7

View File

@@ -482,6 +482,7 @@ if test -r "${BASEDIR}/firstboot.custom.sh"; then
umount /dev/mmcblk0p4 | tee -a ${LOG} umount /dev/mmcblk0p4 | tee -a ${LOG}
#umount /dev/mmcblk0p1 | tee -a ${LOG} # this fails #umount /dev/mmcblk0p1 | tee -a ${LOG} # this fails
sleep 3 sleep 3
reboot
fi fi
# REBOOT device if CONSOLE_VARIANT was overwritten from $CHOICE # REBOOT device if CONSOLE_VARIANT was overwritten from $CHOICE