Embedded: output errors on console if failed to start
This commit is contained in:
@@ -21,11 +21,11 @@ cat /proc/cpuinfo /sys/class/drm/*/edid > /dev/urandom
|
||||
dhcpcd -f /etc/dhcpcd.conf --noarp 2>/dev/null &
|
||||
|
||||
if grep -q debugconsole /proc/cmdline; then
|
||||
/sbin/getty -L console 0 vt100 &
|
||||
/sbin/getty -L ttyAMA0 0 vt100 &
|
||||
fi
|
||||
|
||||
if grep -q blockingconsole /proc/cmdline; then
|
||||
/sbin/getty -L console 0 vt100
|
||||
/sbin/getty -L ttyAMA0 0 vt100
|
||||
fi
|
||||
|
||||
/etc/init.d/S99rpi-imager start
|
||||
|
||||
@@ -1 +1 @@
|
||||
quiet console=serial0,115200 debugconsole
|
||||
quiet console=ttyAMA0,115200 console=tty1 debugconsole
|
||||
|
||||
Reference in New Issue
Block a user