CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
aumix: fixed url and description.
[attic/ports/opt-cross.git] / esekeyd / esekeyd
CommitLineData
b05b51d9
JB
1#!/bin/sh
2#
3# /etc/rc.d/esekeyd: start/stop esekeyd daemon
4#
5
6case $1 in
7 start)
8 /usr/sbin/esekeyd /etc/esekeyd.conf /dev/input/event0
9 ;;
10 stop)
11 kill $(cat /var/run/esekeyd.pid)
12 ;;
13 restart)
14 $0 stop
15 sleep 2
16 $0 start
17 ;;
18 *)
19 echo "Usage: $0 [start|stop|restart]"
20 ;;
21esac
22
23# End of file