From 4700953e297af1d07215b81f9490eceeae98e7a0 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 16 Apr 2019 13:40:00 -0500 Subject: T1327: Set the serial console speed to 115200 by default Set the serial console speed to 115200 in all build scripts, as is the standard for current boards. This avoids an annoyance for users of the livecd, and makes the defaults in build scripts in tools/ and scripts/ consistent. --- data/live-build-config/hooks/live/05-event_tty.chroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/live-build-config/hooks/live/05-event_tty.chroot') diff --git a/data/live-build-config/hooks/live/05-event_tty.chroot b/data/live-build-config/hooks/live/05-event_tty.chroot index a00167f7..81ef6257 100755 --- a/data/live-build-config/hooks/live/05-event_tty.chroot +++ b/data/live-build-config/hooks/live/05-event_tty.chroot @@ -22,7 +22,7 @@ if [ -r etc/event.d/tty1 ] ; then stop on runlevel 6 respawn - exec /sbin/getty 9600 ttyS0 vt100 + exec /sbin/getty 115200 ttyS0 vt100 EOF fi @@ -30,5 +30,5 @@ fi if [ -r etc/inittab ] && [ -c dev/ttyS0 ] && grep -q '^#T0:.*getty.*ttyS0' etc/inittab ; then echo I: Enable serial console login - sed -i '/^#T0:/s|^#.*$|T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100|' etc/inittab + sed -i '/^#T0:/s|^#.*$|T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100|' etc/inittab fi -- cgit v1.2.3