diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-28 19:14:17 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-28 19:14:19 +0100 |
commit | fb648267bf5a236b3d7fa32026fedbb43fc4f9ce (patch) | |
tree | 2e1ee283b4c154885ba2463ec28ef2352344a675 | |
parent | b75a8bd4f09f2cc23b99dd53ca9e869a8c503064 (diff) | |
download | vyos-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-x | src/conf_mode/system-option.py | 2 |
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: |