dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 37458 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37458 | tilghman | 2006-07-12 13:29:01 -0500 (Wed, 12 Jul 2006) | 2 lines

Merge fixup for asterisk startup script to zaptel startup script

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37459 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2006-07-12 18:39:36 +00:00
parent 897f87a97d
commit ad5003fe84
1 changed files with 9 additions and 1 deletions

View File

@ -17,7 +17,15 @@
MODULES="usb-uhci zaptel wcfxo wcusb"
######################################
[ -f /etc/sysconfig/`basename $0` ] && . /etc/sysconfig/`basename $0`
# Resolve back to the basename (i.e. zaptel, not S90zaptel)
if [ 0`readlink $0` = "0" ]; then
CONFIGFILE=/etc/sysconfig/`basename $0`
else
CONFIG0=`readlink $0`
CONFIGFILE=/etc/sysconfig/`basename $CONFIG0`
fi
[ -f $CONFIGFILE ] && . $CONFIGFILE
function probe() {
gprintf " $1"