From da4e1fa442891324809993529dd4ae0d9a419af4 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 23 Apr 2019 15:39:41 -0500 Subject: T1327: Set the serial console speed to 115200 by default Set the default serial console speed to 115200 in system update scripts, to accord with the changes in the build scripts. --- scripts/system/vyatta_update_console.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/system') diff --git a/scripts/system/vyatta_update_console.pl b/scripts/system/vyatta_update_console.pl index 79ad3617..099a8fc4 100755 --- a/scripts/system/vyatta_update_console.pl +++ b/scripts/system/vyatta_update_console.pl @@ -87,7 +87,7 @@ sub update_getty{ if ($tty =~ /^hvc\d/) { $speed = 38400 unless $speed; } else { - $speed = 9600 unless $speed; + $speed = 115200 unless $speed; } while (<$sgetty>) { @@ -121,7 +121,7 @@ sub update_grub { return unless $config->exists("ttyS0"); my $speed = $config->returnValue("ttyS0 speed"); - $speed = "9600" unless defined($speed); + $speed = "115200" unless defined($speed); open(my $grub, '<', $GRUBCFG) or die "Can't open $GRUBCFG: $!"; -- cgit v1.2.3