summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-28 19:14:17 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-28 19:14:19 +0100
commitfb648267bf5a236b3d7fa32026fedbb43fc4f9ce (patch)
tree2e1ee283b4c154885ba2463ec28ef2352344a675
parentb75a8bd4f09f2cc23b99dd53ca9e869a8c503064 (diff)
downloadvyos-1x-fb648267bf5a236b3d7fa32026fedbb43fc4f9ce.tar.gz
vyos-1x-fb648267bf5a236b3d7fa32026fedbb43fc4f9ce.zip
system: T3038: remove /dev/console from loadkeys
/dev/console is not always present, e.g. on headless devices like an APU4.
-rwxr-xr-xsrc/conf_mode/system-option.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system-option.py b/src/conf_mode/system-option.py
index 447c97a78..910c14474 100755
--- a/src/conf_mode/system-option.py
+++ b/src/conf_mode/system-option.py
@@ -123,7 +123,7 @@ def apply(options):
# Keyboard layout - there will be always the default key inside the dict
# but we check for key existence anyway
if 'keyboard_layout' in options:
- cmd('loadkeys -C /dev/console {keyboard_layout}'.format(**options))
+ cmd('loadkeys {keyboard_layout}'.format(**options))
if __name__ == '__main__':
try: