Embedded: output errors on console if failed to start

This commit is contained in:
Floris Bos 2022-02-14 11:06:54 +01:00
parent 25947fc199
commit bfcbd6307c
2 changed files with 3 additions and 3 deletions

View file

@ -21,11 +21,11 @@ cat /proc/cpuinfo /sys/class/drm/*/edid > /dev/urandom
dhcpcd -f /etc/dhcpcd.conf --noarp 2>/dev/null & dhcpcd -f /etc/dhcpcd.conf --noarp 2>/dev/null &
if grep -q debugconsole /proc/cmdline; then if grep -q debugconsole /proc/cmdline; then
/sbin/getty -L console 0 vt100 & /sbin/getty -L ttyAMA0 0 vt100 &
fi fi
if grep -q blockingconsole /proc/cmdline; then if grep -q blockingconsole /proc/cmdline; then
/sbin/getty -L console 0 vt100 /sbin/getty -L ttyAMA0 0 vt100
fi fi
/etc/init.d/S99rpi-imager start /etc/init.d/S99rpi-imager start

View file

@ -1 +1 @@
quiet console=serial0,115200 debugconsole quiet console=ttyAMA0,115200 console=tty1 debugconsole