blob: c3fee86a35509c26785c13e2fea307c870dfb32a (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/gpm: start/stop console mouse
4 #
5
6 case $1 in
7 start)
8 /usr/sbin/gpm -m /dev/input/mouse0 -t ps2
9 ;;
10 stop)
11 pkill -f 'gpm -m /dev/input/mouse0'
12 ;;
13 restart)
14 pkill -HUP -f 'gpm -m /dev/input/mouse0'
15 ;;
16 *)
17 echo "usage: $0 [start|stop|restart]"
18 ;;
19 esac
20
21 # End of file
|