summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_console.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-03-20 18:41:24 +0200
committerViacheslav Hletenko <v.gletenko@vyos.io>2026-03-24 17:02:56 +0000
commitbb2aee1e58c1cd30087b935798060e6bf3c698c8 (patch)
tree99f692623ad596519ff26da443f62415cc3bcf59 /src/conf_mode/system_console.py
parenta9a75eb7dce077bceee1ae13dc943b05d8759925 (diff)
downloadvyos-1x-bb2aee1e58c1cd30087b935798060e6bf3c698c8.tar.gz
vyos-1x-bb2aee1e58c1cd30087b935798060e6bf3c698c8.zip
T8410: Fix typos and mistakes for operational and configuration commands
Fix typos and mistakes in the commands and comments No functional changes
Diffstat (limited to 'src/conf_mode/system_console.py')
-rwxr-xr-xsrc/conf_mode/system_console.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/system_console.py b/src/conf_mode/system_console.py
index fe910c1b0..4411257e3 100755
--- a/src/conf_mode/system_console.py
+++ b/src/conf_mode/system_console.py
@@ -67,7 +67,7 @@ def verify(console):
# If the device name still starts with usbXXX no matching tty was found
# and it can not be used as a serial interface
if not os.path.isdir(by_bus_dir) or not os.path.exists(by_bus_device):
- raise ConfigError(f'Device {device} does not support beeing used as tty')
+ raise ConfigError(f'Device {device} does not support being used as tty')
if not is_tty(device):
Warning(f'Device "{device}" used for console is not a TTY!')
@@ -99,7 +99,7 @@ def generate(console):
console['device'][device_updated] = console['device'][device]
del console['device'][device]
else:
- raise ConfigError(f'Device {device} does not support beeing used as tty')
+ raise ConfigError(f'Device {device} does not support being used as tty')
for device, device_config in console['device'].items():
# Do not render getty configuration if specified device is not a TTY.
@@ -114,7 +114,7 @@ def generate(console):
# GRUB
# For existing serial line change speed (if necessary)
- # Only applys to ttyS0
+ # Only applies to ttyS0
if 'ttyS0' not in console['device']:
return None