diff options
| author | Sebastian | 2014-01-30 09:29:45 +0100 |
|---|---|---|
| committer | Sebastian | 2014-01-30 09:29:45 +0100 |
| commit | 163ddef6ba064c7ee909f29e5529fdfff111a1a7 (patch) | |
| tree | dc330230d39a4ffe11c9cc2ffc2a6b95a4fc4d7f /remote/modules/swiss/data/opt/openslx/scripts | |
| parent | [systemd] Clean up build file (diff) | |
| download | tm-scripts-163ddef6ba064c7ee909f29e5529fdfff111a1a7.tar.gz tm-scripts-163ddef6ba064c7ee909f29e5529fdfff111a1a7.tar.xz tm-scripts-163ddef6ba064c7ee909f29e5529fdfff111a1a7.zip | |
add module for swiss keymaps/locals
Diffstat (limited to 'remote/modules/swiss/data/opt/openslx/scripts')
| -rwxr-xr-x | remote/modules/swiss/data/opt/openslx/scripts/systemd-load_swiss_keymaps | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/remote/modules/swiss/data/opt/openslx/scripts/systemd-load_swiss_keymaps b/remote/modules/swiss/data/opt/openslx/scripts/systemd-load_swiss_keymaps new file mode 100755 index 00000000..aadb7a8b --- /dev/null +++ b/remote/modules/swiss/data/opt/openslx/scripts/systemd-load_swiss_keymaps @@ -0,0 +1,13 @@ +#!/bin/ash +# Script serves as container script for a systemd-call due to the buggyness of several +# loadkeys-implementations <= kbd (Linux keyboard tools) 1.15.3. +# This bug can be detected through failure of the command pipe 'dumpkeys|loadkeys' yielding +# the message "unknown keysym 'compose'. + +loadkeys /opt/openslx/keymaps/qwertz_de_CH-latin1.map # insert a keymap without compose lines +ERR=$? + +# if at this point the second keymap insertion failed we pass the errorlevel to +# systemd - we cannot do more at this point. +exit $ERR + |
