summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-01-12 10:10:58 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-17 05:34:02 +0000
commit2afd5e5575a42bee4483e093e9611fa3363c8adc (patch)
tree62c525749ed7beb7e89a59a265893edfcb055a11 /src/system
parent6c39a9cb6df6bb56c02583f82d68edc8ef17241d (diff)
downloadvyos-1x-2afd5e5575a42bee4483e093e9611fa3363c8adc.tar.gz
vyos-1x-2afd5e5575a42bee4483e093e9611fa3363c8adc.zip
image-tools: T5923: update system_console.py for new GRUB file structure
Add util function to set serial console speed in accordance with revised GRUB file structure; in keeping with the intentions of the config_mode script, adjust the GRUB var 'console_speed' to only modify ttyS0. (cherry picked from commit 5ceaff2ef970cb9c567ac317bafbffca5b073f4a)
Diffstat (limited to 'src/system')
-rw-r--r--src/system/grub_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/grub_update.py b/src/system/grub_update.py
index 4d5e0b6ae..5a7d8eb72 100644
--- a/src/system/grub_update.py
+++ b/src/system/grub_update.py
@@ -69,7 +69,7 @@ if __name__ == '__main__':
'bootmode': default_entry['bootmode'],
'console_type': default_entry['console_type'],
'console_num': default_entry['console_num'],
- 'console_speed': '115200'
+ 'console_speed': default_entry['console_speed']
}
vars.update(default_settings)