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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090124/0be5853f/attachment.htm
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
On Sat, Jan 24, 2009 at 04:08:53PM -0500, Joshua Kinard wrote:> 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.Anything equivalent in SuSE? The Debian equivalent of action "Starting FooBar" foobar , if you source /etc/lsb/init-functions is log_daemon_msg "Starting FooBar" foobar log_end_msg $? Though it has an atvantage of making it easier to redirect output of the command. (Those functions don't seem to be part of the standard LSB init functions, sadly) -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir