diff options
author | Roy Marples <roy@marples.name> | 2008-01-11 12:13:46 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-11 12:13:46 +0000 |
commit | 3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287 (patch) | |
tree | 8b4d6121f0d4b921566eeec2844c9bf76131de78 /init.d.Linux/keymaps | |
parent | 1f4422c72f968405a0b8bf56d4f9c3b619b1b80d (diff) |
Adopt a more C style for scripts and remove vim settings.
Diffstat (limited to 'init.d.Linux/keymaps')
-rwxr-xr-x | init.d.Linux/keymaps | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/init.d.Linux/keymaps b/init.d.Linux/keymaps index ee4fd263..5456b982 100755 --- a/init.d.Linux/keymaps +++ b/init.d.Linux/keymaps @@ -12,11 +12,13 @@ windowskeys=${windowskeys:-${SET_WINDOWSKEYS}} fix_euro=${fix_euro:-${FIX_EURO}} dumpkeys_charset=${dumpkeys_charset:-${DUMPKEYS_CHARSET}} -depend() { +depend() +{ need localmount } -start() { +start() +{ case "${RC_SYS}" in UML|VPS|XENU) ewarn "Not loading keymaps for ${RC_SYS} systems" @@ -64,7 +66,8 @@ start() { # See utf-8(7) for more information. local termencoding= termmsg= if yesno ${unicode}; then - dumpkeys ${dumpkeys_charset:+-c} ${dumpkeys_charset} | loadkeys --unicode + dumpkeys ${dumpkeys_charset:+-c} \ + ${dumpkeys_charset} | loadkeys --unicode termencoding="%G" termmsg="UTF-8" else @@ -80,5 +83,3 @@ start() { done eend 0 } - -# vim: set ts=4 : |