support system-specific scripts in safe_asterisk, before starting Asterisk proper

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-04-19 21:10:41 +00:00
parent 95bdc91eaf
commit 089900af32
2 changed files with 18 additions and 3 deletions

View File

@@ -34,9 +34,17 @@ fi
#
ulimit -c unlimited
#launch_asterisk()
#{
#}
#
# Run scripts to set any environment variables or do any other system-specific setup needed
#
if [ -d /etc/asterisk/startup.d ]; then
for script in /etc/asterisk/startup.d/*.sh; do
if [ -x ${script} ]; then
source ${script}
fi
done
fi
run_asterisk()
{