diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/install-functions | 2 | ||||
-rwxr-xr-x | scripts/system/vyatta_update_console.pl | 4 | ||||
-rwxr-xr-x | scripts/vyatta-grub-setup | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions index 46938aeb..e319b84d 100755 --- a/scripts/install/install-functions +++ b/scripts/install/install-functions @@ -214,7 +214,7 @@ add_console_entry () { config_file=$2 sed -i -e "/console {/a \ \ device $console_dev {\n\ - speed 9600\n\ + speed 115200\n\ }" $config_file } 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: $!"; diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 8f0734ed..236b41ea 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -69,9 +69,9 @@ fi pass_reset=/opt/vyatta/sbin/standalone_root_pw_reset # Output to both console (last device is /dev/console) -vty_console="console=ttyS0,9600 console=tty0" -serial_console="console=tty0 console=ttyS0,9600" -usb_console="console=tty0 console=ttyUSB0,9600" +vty_console="console=ttyS0,115200 console=tty0" +serial_console="console=tty0 console=ttyS0,115200" +usb_console="console=tty0 console=ttyUSB0,115200" # If vga_logo is set, enable use of the VGA monitor for displaying the # logo during boot. The "vga=" boot command specifies a VGA mode that @@ -152,7 +152,7 @@ fi echo -e "set default=$default_console" echo "set timeout=5" # set serial console options - echo -e "serial --unit=0 --speed=9600" + echo -e "serial --unit=0 --speed=115200" echo "terminal_output --append serial" echo "terminal_input serial console" |