mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -168,12 +168,12 @@ case "$1" in
|
||||
;;
|
||||
fullrestart)
|
||||
$0 stop
|
||||
service zaptel restart
|
||||
service dahdi restart
|
||||
$0 start
|
||||
;;
|
||||
fullrestartnow)
|
||||
$0 stopnow
|
||||
service zaptel restart
|
||||
service dahdi restart
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# zaptel: Loads Asterisk modules
|
||||
# DAHDI: Loads Asterisk modules
|
||||
#
|
||||
# Version: @(#) /etc/rc.d/init.d/zaptel 1.0
|
||||
# Version: @(#) /etc/rc.d/init.d/dahdi 1.0
|
||||
#
|
||||
# chkconfig: 2345 90 10
|
||||
# description: Loads and unloads zaptel modules at boot time and shutdown.
|
||||
# description: Loads and unloads DAHDI modules at boot time and shutdown.
|
||||
#
|
||||
# hide: true
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
# Default modules - override in /etc/sysconfig/zaptel
|
||||
# Default modules - override in /etc/sysconfig/dahdi
|
||||
######################################
|
||||
MODULES="usb-uhci zaptel wcfxo wcusb"
|
||||
MODULES="usb-uhci dahdi wcfxo wcusb"
|
||||
######################################
|
||||
|
||||
# Resolve back to the basename (i.e. zaptel, not S90zaptel)
|
||||
# Resolve back to the basename (i.e. dahdi, not S90dahdi)
|
||||
if [ 0`readlink $0` = "0" ]; then
|
||||
CONFIGFILE=/etc/sysconfig/`basename $0`
|
||||
else
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: asterisk
|
||||
# Required-Start: +zaptel $network $named
|
||||
# Required-Start: +dahdi $network $named
|
||||
# Required-Stop:
|
||||
# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 4 6
|
||||
# Description: zaptel - zaptel modules for Asterisk
|
||||
# Description: dahdi - dahdi modules for Asterisk
|
||||
### END INIT INFO
|
||||
|
||||
# Source function library.
|
||||
|
||||
Reference in New Issue
Block a user