e323fa87af
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@306 6952d904-891a-0410-993b-d76249ca496b
23 lines
576 B
Plaintext
Executable File
23 lines
576 B
Plaintext
Executable File
#!/sbin/runscript
|
|
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
depend() {
|
|
need net
|
|
provide lirc
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting IRTrans"
|
|
eval start-stop-daemon --start --quiet --exec /usr/bin/irserver --pidfile /var/run/irtrans-irserver.pid \
|
|
-- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" -pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}"
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping IRTrans"
|
|
start-stop-daemon --stop --quiet --pidfile /var/run/irtrans-irserver.pid
|
|
eend $?
|
|
}
|