LinHES Forums http://forums.linhes.org/ |
|
How to add lines in runit (?) http://forums.linhes.org/viewtopic.php?f=21&t=22000 |
Page 1 of 1 |
Author: | snaproll [ Sun Jan 30, 2011 9:41 am ] |
Post subject: | How to add lines in runit (?) |
Part of fixing ir blaster in 6.03 requires adding four lines in the command line. These don't survive a reboot, and need to be added again after each reboot. (http://knoppmyth.net/phpBB2/viewtopic.p ... ht=blaster) I tried putting them in /etc/runit/1.local which indicates this is the place for add-ons:.... #!/bin/bash #local user startup script, run at the end of runit 1 but they don't work and still have to be put it with the command line ?? ... What have I figured wrong ? |
Author: | chael [ Sun Jan 30, 2011 11:08 am ] |
Post subject: | Re: How to add lines in runit (?) |
snaproll wrote: Part of fixing ir blaster in 6.03 requires adding four lines in the command line.
These don't survive a reboot, and need to be added again after each reboot. Perhaps you are running them too early in the boot process. I have successfully added initialization commands to the fluxbox startup. Create a script with the four commands. Let's call it /home/mythtv/fix_irblaster.sh. Then edit /home/mythtv/.fluxbox/apps and add a line like this: Code: [startup] {/home/mythtv/fix_irblaster.sh}
I would put it before LinHES-run, but you may have to try it before and after to find out which place works best. Failing that, you could hand edit /usr/LH/bin/LinHES-run. I have two edits (comment out unclutter and use launch_irx.sh instead of irexec) in that file that I have been using to make my life easier. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |