В Sat, 21 Jan 2012 13:12:35 +0200 Tzafrir Cohen <[email protected]> пишет:
> On Sat, Jan 21, 2012 at 12:20:55PM +0200, Andriy Ivashchenko wrote: > > В Fri, 20 Jan 2012 13:03:29 +0200 > > Tzafrir Cohen <[email protected]> пишет: > > > > > On Fri, Jan 20, 2012 at 11:26:41AM +0200, Andriy Ivashchenko > > > wrote: > > > > Should it be exported? Or should we create > > > /etc/asterisk/startup.d/aa_debian.sh as a symlink to > > > /etc/default/asterisk ? (look for startup.d in the script > > > safe_asterisk). > > > > > > > In safe_asterisk `umask $UMASK' happens > > before /etc/asterisk/startup.d/ If you want to do something with > > variables in startup.d, you should to worry about what to do with > > them. You need to do duplicate `umask $UMASK'. Is it really good? > > Except UMASK, there need to export MAXFILES too. I think those vars > > need to be in /etc/default/asterisk and exported to safe_asterisk. > > May be somebody needs another critical variables which should be > > exported from /etc/default/asterisk ? I have no one. > > Thanks. > > See https://reviewboard.asterisk.org/r/1601/ > Good point to move startup.d up -- Corporate Telephone Systems. VoIP. http://ai.kh.ua -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

