Re: Conundrum with aucat and rc_scripts

2011-09-09 Thread G 0kita
On Thu, Sep 8, 2011 at 10:01 PM, Breen Ouellette misc.open...@usask.cawrote: I've configured the ices package to stream whatever happens to be flowing into my sound card line input using this roundabout method (seems to work the best given that ices will read from a FIFO but not stdin): 1.

Re: Conundrum with aucat and rc_scripts

2011-09-09 Thread bco116
G0kita, So, to more generally confirm the solution to the problems with my scripts: Commands located in the rc infrastructure, or in scripts called by cron, must redirect terminal output to /dev/null or they might not work as expected. Is the above a true statement? Thanks! Breeno Quoting G

Pipes, redirects, and rc.local (was: Conundrum with aucat and rc_scripts)

2011-09-09 Thread misc . openbsd
G0kita, I've had a chance to review your advice, and I believe I've spotted a problem with your redirects. The command that works for me is: /usr/bin/aucat -o - 2/dev/null /dev/null | /usr/local/bin/lame -r -a -b 56 - - 2/dev/null | /usr/local/bin/ezstream -c /etc/ezstream.xml /dev/null 21

Re: Pipes, redirects, and rc.local (was: Conundrum with aucat and rc_scripts)

2011-09-09 Thread misc . openbsd
Correction: This works fine from a script executed by cron. Still doesn't work from rc.local. Anyone willing to impart some additional wisdom? Breeno Quoting misc.open...@mail.usask.ca: G0kita, I've had a chance to review your advice, and I believe I've spotted a problem with your

Conundrum with aucat and rc_scripts

2011-09-08 Thread Breen Ouellette
Hi, I've configured the ices package to stream whatever happens to be flowing into my sound card line input using this roundabout method (seems to work the best given that ices will read from a FIFO but not stdin): 1. aucat writes line in to FIFO at /dev/aucat/.raw; 2. lame reads from