1 2 3 4 5 6 7 8 9 10 11 12 13
#!/sbin/runscript start() { ebegin "Starting lircd" start-stop-daemon --start --quiet --exec /usr/sbin/inputlircd -- ${INPUTLIRCD_OPTS} eend $? } stop() { ebegin "Stopping lircd" start-stop-daemon --stop --quiet --exec /usr/sbin/inputlircd eend $? }