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:
parent
897f87a97d
commit
ad5003fe84
|
@ -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"
|
||||
|
|
Reference in New Issue