mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@37459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
Block a user