From fb648267bf5a236b3d7fa32026fedbb43fc4f9ce Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 28 Nov 2020 19:14:17 +0100 Subject: system: T3038: remove /dev/console from loadkeys /dev/console is not always present, e.g. on headless devices like an APU4. --- src/conf_mode/system-option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3