kumquat-buildroot/package/input-event-daemon/S99input-event-daemon
Kelvin Cheung c17f413438 New package: input-event-daemon
Add new package: input-event-daemon

input-event-daemon -  input event handling daemon for linux.

[Peter: minor tweaks, use v0.1.3 tag, pass LDFLAGS, combine install step]
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 22:43:55 +02:00

40 lines
449 B
Bash
Executable File

#! /bin/sh
[ -f /usr/bin/input-event-daemon ] || exit 0
start() {
echo -n "Starting input-event-daemon: "
input-event-daemon
echo "done"
}
stop() {
echo -n "Stopping input-event-daemon: "
killall input-event-daemon
echo "done"
}
restart() {
stop
start
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo "Usage: $0 {start|stop|reload|restart}"
exit 1
esac
exit $?