diff options
author | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-10 12:26:38 +0000 |
---|---|---|
committer | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-10 12:26:38 +0000 |
commit | 81930edf4c2fbe628c0ca0445a456e092b22aaff (patch) | |
tree | 378152274fd7d8d72608f662b2274ef7ef63d3e4 /linux/bin/asdf | |
parent | 2ca2721969f96da61e43983531914b9b6a6d758e (diff) |
die in uiae und asdf leitet schon auf stderr um
git-svn-id: https://svn.neo-layout.org@1419 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/bin/asdf')
-rwxr-xr-x | linux/bin/asdf | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/linux/bin/asdf b/linux/bin/asdf index 537fcd5..4eeab10 100755 --- a/linux/bin/asdf +++ b/linux/bin/asdf @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright 2008 Bernd Steinhauser <berniyh@exherbo.org> # Copyright 2008 Benjamin Kellermann # Copyright 2008 Pascal Hauck @@ -22,6 +22,15 @@ else ECHO_e="echo" fi +# Default values +NEO_XKBMAP=${NEO_XKBMAP:-de} +NEO_XKBVARIANT=${NEO_XKBVARIANT:-neo} +NEO_XMODMAP=${NEO_XMODMAP:-$HOME/neo/neo_de.xmodmap} +NEO_XMODMAP_XPROG=${NEO_XMODMAP_XPROG:-$HOME/neo/neo_de_x-prog.xmodmap} +NEO_XMODMAP_ALTERNATIVE=${NEO_XMODMAP_ALTERNATIVE:-$HOME/neo/neo_de_alternative.xmodmap} +NEO_XMODMAP_EVDEV=${NEO_XMODMAP_EVDEV:-$HOME/neo/neo_de_evdev.xmodmap} +NEO_CONSOLE_KEYMAP=${NEO_CONSOLE_KEYMAP:-$HOME/neo/neo.map} + help() { cat <<HELP Aufruf: $0 [-q] [NEO-X-Variante] @@ -70,15 +79,6 @@ else $ECHO_e "${red}Keine Konfigurationsdatei für NEO gefunden.\nDas Verwenden der Standardwerte kann fehlschlagen!${normal}" >&2 fi -# Default values -NEO_XKBMAP=${NEO_XKBMAP:-de} -NEO_XKBVARIANT=${NEO_XKBVARIANT:-neo} -NEO_XMODMAP=${NEO_XMODMAP:-$HOME/neo/neo_de.xmodmap} -NEO_XMODMAP_XPROG=${NEO_XMODMAP_XPROG:-$HOME/neo/neo_de_x-prog.xmodmap} -NEO_XMODMAP_ALTERNATIVE=${NEO_XMODMAP_ALTERNATIVE:-$HOME/neo/neo_de_alternative.xmodmap} -NEO_XMODMAP_EVDEV=${NEO_XMODMAP_EVDEV:-$HOME/neo/neo_de_evdev.xmodmap} -NEO_CONSOLE_KEYMAP=${NEO_CONSOLE_KEYMAP:-$HOME/neo/neo.map} - die() { $ECHO_e "${red}$@${normal}" >&2 $ECHO_e "${red}Die Belegung konnte nicht auf NEO geändert werden.${normal}" >&2 |