diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-04-23 15:39:41 -0500 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2019-04-23 15:47:52 -0500 |
commit | da4e1fa442891324809993529dd4ae0d9a419af4 (patch) | |
tree | a5d68a91b58e1058b6e4da57994298721cdf27bf /scripts/system | |
parent | ad0de9615f04ed1e172e9bf8430857cb911d5fa3 (diff) | |
download | vyatta-cfg-system-da4e1fa442891324809993529dd4ae0d9a419af4.tar.gz vyatta-cfg-system-da4e1fa442891324809993529dd4ae0d9a419af4.zip |
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.
Diffstat (limited to 'scripts/system')
-rwxr-xr-x | scripts/system/vyatta_update_console.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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: $!"; |