[asterisk-users] OT - How to blacklist a driver in /etc/modprobe.d without reboot [SOLVED]
Olivier
oza_4h07 at yahoo.fr
Tue Aug 24 02:31:48 CDT 2010
2010/8/24 Olivier <oza_4h07 at yahoo.fr>
> Hi,
>
> On lenny, when I'm adding a "blacklist hfc4s8s_l1" statement in a
> /etc/modprobe.d/myfile.conf file, this change seems ineffective until I
> reboot :
> # dahdi_genconf -v system
> Default parameters from /etc/dahdi/genconf_parameters
> Empty configuration -- no spans
> Generating /etc/dahdi/system.conf
>
> I tried this :
> /etc/init.d/module-init-tools
> then this :
> /etc/init.d/udev restart
> but still, I'm getting the "Empty configuration" answer.
>
> If I reboot the system, the "dahdi_genconf -v system" command works OK.
>
> How can I make this command successfull without rebooting ?
>
Using "modprobe -r hfc4s8s_l1" made it.
But I would still be curious to find a more efficient method (not involving
any parsing of /etc/modprobe.d/myfile.conf file).
>
> Regards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100824/aecf9512/attachment.htm
More information about the asterisk-users
mailing list