blob: abc14f866183406d3d37cc755d97054800cd55ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
MACHINE=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo`
case $MACHINE in
"SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi")
case `uname -r` in
2.4*)
xmodmap - < /etc/X11/shepherd.xmodmap
;;
esac
;;
"Sharp-Collie")
xmodmap - < /etc/X11/collie.xmodmap
;;
"Simpad")
xmodmap - < /etc/X11/simpad.xmodmap
;;
"HP iPAQ H2200")
xmodmap - < /etc/X11/h2200.xmodmap
;;
esac
|