#!/usr/bin/runscript
# Copyright 2014 artoo <flower_of_life@gmx.net>
# Distributed under the terms of the GNU General Public License

depend() {
	need dbus
}

start() {
	ebegin "Starting ${SVCNAME}"
	start-stop-daemon --start --background --quiet --exec /usr/bin/keyboardctl -- "${OPTS}"
	eend $?
}

stop() {
	ebegin "Stopping ${SVCNAME}"
	start-stop-daemon --stop --background --quiet --exec /usr/bin/keyboardctl -- "${OPTS}"
	eend $?
}
