##// END OF EJS Templates
a
Unknown -
r547:47abd715d52a
parent child
Show More
@@ -182,7 +182,7 if [ "$ENABLE_CONSOLE" = true ] ; then
182 CMDLINE="${CMDLINE} console=serial0,115200"
182 CMDLINE="${CMDLINE} console=serial0,115200"
183
183
184 # Enable serial console systemd style
184 # Enable serial console systemd style
185 chroot_exec systemctl enable serial-getty\@serial0.service
185 chroot_exec systemctl enable serial-getty@serial0.service
186 else
186 else
187 echo "enable_uart=0" >> "${BOOT_DIR}/config.txt"
187 echo "enable_uart=0" >> "${BOOT_DIR}/config.txt"
188 fi
188 fi
@@ -436,7 +436,7 if [ "$ENABLE_UBOOT" = true ] ; then
436 fi
436 fi
437
437
438 if [ "$ENABLE_USBBOOT" = true ] ; then
438 if [ "$ENABLE_USBBOOT" = true ] ; then
439 if ["$RPI_MODEL" != 3 ] || ["$RPI_MODEL" != 3P ] ; then
439 if ! ["$RPI_MODEL" = 3 ] || ! ["$RPI_MODEL" = 3P ] ; then
440 echo "error: Booting from USB alone is only supported by Raspberry Pi 3 and 3P"
440 echo "error: Booting from USB alone is only supported by Raspberry Pi 3 and 3P"
441 exit 1
441 exit 1
442 fi
442 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant