Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124295 - lirc and irexec daemon
Summary: lirc and irexec daemon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Matthias Schwarzott
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lirc-tracker
  Show dependency tree
 
Reported: 2006-02-27 12:38 UTC by Daniel Kukula
Modified: 2006-12-01 06:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kukula 2006-02-27 12:38:30 UTC
I think we should add a script that starts the irexec daemon at boot time, normally I need to run it manually and i'ts not the best solution so i've written this:

/etc/init.d/irexec

depend() {
        need lircd 
}

start() {
        ebegin "Starting irexec"
        /usr/bin/irexec --daemon ${IREXEC_OPTS}
        eend $?
}

stop() {
        ebegin "Stopping irexec"
        killall irexec
        eend $?
}



/etc/conf.d/irexec

# Options to pass to the irexec process
IREXEC_OPTS="/etc/lircrc"


and in /etc/lircrc i've put my ~/.lircrc file
Comment 1 Matthias Schwarzott gentoo-dev 2006-12-01 06:38:10 UTC
Added init-script to lirc-0.8.0-r7, thanks for submitting it.