[asterisk-users] Dahdi Init script for Suse?
Joshua Kinard
jkinard at closeup.org
Sat Jan 24 17:51:00 CST 2009
Stared at an init script long enough, and managed to devise up the following script. This applies straight to tools/dahdi.init in dadhi-linux-complete.
Minus the top hunk in the patch (which sets system = suse), this converts it into a working script for suse systems.
Thoughts? What's the likelyhood something like this could get included in an actual release? If possible, what extra work needs doing?
--J
________________________________________
From: asterisk-users-bounces at lists.digium.com [asterisk-users-bounces at lists.digium.com] On Behalf Of Marco [marcotasto at libero.it]
Sent: Saturday, January 24, 2009 5:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Dahdi Init script for Suse?
Hi,
I've it up and running on OpenSuse 11. I used the scripts provided by the
sources and commented out one line:
#
# Determine which kind of configuration we're using
#
#system=redhat # assume redhat
system=debian # assume debian
This forces the script to use debian style. It works for me, except, if I
remember well, some little problem on reload (but stopping and starting
again works fine).
Best regards,
Marco Signorini.
==========================
INGEGNI Tech S.r.l.
http://www.ingegnitech.com
> Anyone by chance got an Init script for /etc/init.d/dahdi on a SLES 10 box
> that'll work right? The one included by default only deals with debian
> and redhat, and the changes between the old zaptel script I have that
> works are far too invasive. Notably in the use of this "action" command
> that's probably redhat specific.
>
> There's practically zilch on google on the matter. I think suse support
> should be included by default, though.
>
> Thanks!,
>
> Joshua Kinard
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dahdi.init-suse.patch
Type: application/octet-stream
Size: 2159 bytes
Desc: dahdi.init-suse.patch
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090124/b7114915/attachment.obj
More information about the asterisk-users
mailing list