[Asterisk-Dev] Please accept this patch to wcfxo.c to identify
itself with debug set .
Mr. James W. Laferriere
babydr at baby-dragons.com
Sun Oct 30 07:43:48 MST 2005
Hello Tzafrir ,
On Sun, 30 Oct 2005, Tzafrir Cohen wrote:
> On Sat, Oct 29, 2005 at 08:22:24AM -0600, Mr. James W. Laferriere wrote:
> > Hello All , Please accept this patch to wcfxo.c to identify itself
> > with debug set at modprobe . Hth , JimL
> >
> > ie: from /etc/modprobe.conf
> >
> > install wcfxo /sbin/modprobe --ignore-install wcfxo debug=1 && /sbin/ztcfg -vv -d9
> Regardless of the patch (snipped from this reply), could you please
> explain what is the point of the above complex line?
>
> It will fail if you have a slightly more complex zaptel configuration,
> which is why I rather run ztcfg in a separate init.d script and not get
> strange "modprobe failures". But then again:
>
> install wcfxo /sbin/ztcfg -vv -d9
>
> seems rather equivalent.
>
> And obviously: modprobe.conf is 2.6-specific.
Do not have the foggiest of an idea what Asterisk developers had in mind
with that line . Fyi , This is from a recent cvs pull & those lines
straight from the install procedure , all I did was add the debugging .
Please ask one of the developers about the reasoning .
Btw , Thank you for the idea of seperating out the two commands .
Twyl , JimL
--
+------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | 3542 Broken Yoke Dr. | Give me Linux |
| babydr at baby-dragons.com | Billings , MT. 59105 | only on AXP |
+------------------------------------------------------------------+
More information about the asterisk-dev
mailing list