mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Embedded: output errors on console if failed to start
This commit is contained in:
parent
25947fc199
commit
bfcbd6307c
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
quiet console=serial0,115200 debugconsole
|
quiet console=ttyAMA0,115200 console=tty1 debugconsole
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue