summaryrefslogtreecommitdiff
path: root/packages/gpe-session-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpe-session-scripts')
-rw-r--r--packages/gpe-session-scripts/files/keymap.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gpe-session-scripts/files/keymap.sh b/packages/gpe-session-scripts/files/keymap.sh
index a34e91ffb1..0e64aac9f4 100644
--- a/packages/gpe-session-scripts/files/keymap.sh
+++ b/packages/gpe-session-scripts/files/keymap.sh
@@ -4,7 +4,11 @@ MACHINE=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo`
case $MACHINE in
"SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi")
- xmodmap - < /etc/X11/shepherd.xmodmap
+ case `uname -r` in
+ 2.4*)
+ xmodmap - < /etc/X11/shepherd.xmodmap
+ ;;
+ esac
;;
"Sharp-Collie")
xmodmap - < /etc/X11/collie.xmodmap