[BusyBox] avoid trying to 'insmod (null)' when 'modprobe non_existent_module' is called

egor duda deo at corpit.ru
Fri Sep 24 08:27:27 UTC 2004


Hi!

Attached patch prevents modprobe from trying to call 'insmod (null)' 
whenever nonexistent module is either passed to modprobe via command 
line or mentioned in modules.dep

this replaces cryptic error
sh: Syntax error: word unexpected (expecting ")")
with
modprobe: module some-module not found.

egor.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: busybox-modprobe-nonexistend-module.diff
Url: http://lists.busybox.net/pipermail/busybox/attachments/20040924/db2a23ee/attachment.diff 


More information about the busybox mailing list