diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-03-27 18:50:56 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-03-27 18:50:56 +0000 |
commit | eb398895e8a541bf3ef5cd88a26dba73b3f52b13 (patch) | |
tree | e18c6d5b073ef54d2d72ea881a0bc93db663c8a6 /zaptel.init | |
parent | 8547a6020e8f6e10dcb83d893a7c70f84b3a4aa7 (diff) |
Merged revisions 2343 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4
................
r2343 | russell | 2007-03-27 13:49:01 -0500 (Tue, 27 Mar 2007) | 13 lines
Merged revisions 2342 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r2342 | russell | 2007-03-27 13:48:23 -0500 (Tue, 27 Mar 2007) | 5 lines
When debug is enabled, ensure that "debug=1" gets passed to the zaptel module,
and not just the hardware modules. Also, run "ztcfg -s" at the beginning of
the "stop" action of the script.
(issue #7409, PCadach and tzafrir)
........
................
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2344 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.init')
-rw-r--r-- | zaptel.init | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zaptel.init b/zaptel.init index 4a35842..f867284 100644 --- a/zaptel.init +++ b/zaptel.init @@ -161,10 +161,10 @@ case "$1" in rmmod audio >& /dev/null if [ $system = debian ]; then echo -n "Loading zaptel framework: " - modprobe zaptel >& /dev/null && echo -n "done" + modprobe zaptel ${ARGS} >& /dev/null && echo -n "done" echo "." elif [ $system = redhat ]; then - action "Loading zaptel framework: " modprobe zaptel + action "Loading zaptel framework: " modprobe zaptel ${ARGS} fi echo -n "Waiting for zap to come online..." TMOUT=10 # max secs to wait @@ -203,6 +203,7 @@ case "$1" in ;; stop) # Unload drivers + $ZTCFG -s echo -n "Unloading zaptel hardware drivers:" unload_module zaptel RETVAL=$? |