On Fri, Oct 27, 2006 at 11:34:58PM -0000, James E. Blair wrote:
> /usr/sbin/safe_asterisk: 93: Syntax error: Bad fd number
> Line 55 of safe_asterisk seems to be what fails:
>
> stty sane < /dev/${TTY}
I'm quite sure it's the following line with the bashism on it. :-)
It currently reads:
${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} >& /dev/${TTY} <
/dev/${TTY}
Changing it to this should fix it (untested):
${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 <
/dev/${TTY}
I'll upload a fix when I have time to test it properly (no more than a
few days).
Thanks for your bug report!
Cheers, Søren.
--
safe_asterisk not compatible with dash
https://launchpad.net/bugs/68742
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs