mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Patch from Mike Snitzer <snitzer@gmail.com>:
Support for /etc/modprobe.conf (for 2.6 kernels) should likely be added to bb's modprobe, see attached patch. modprobe.conf is just a (even simpler) variant of modules.conf
This commit is contained in:
parent
0177ce1256
commit
36a836d564
@ -275,6 +275,9 @@ static struct dep_t *build_dep ( void )
|
|||||||
|
|
||||||
// alias parsing is not 100% correct (no correct handling of continuation lines within an alias) !
|
// alias parsing is not 100% correct (no correct handling of continuation lines within an alias) !
|
||||||
|
|
||||||
|
#if defined(CONFIG_FEATURE_2_6_MODULES)
|
||||||
|
if (( fd = open ( "/etc/modprobe.conf", O_RDONLY )) < 0 )
|
||||||
|
#endif
|
||||||
if (( fd = open ( "/etc/modules.conf", O_RDONLY )) < 0 )
|
if (( fd = open ( "/etc/modules.conf", O_RDONLY )) < 0 )
|
||||||
if (( fd = open ( "/etc/conf.modules", O_RDONLY )) < 0 )
|
if (( fd = open ( "/etc/conf.modules", O_RDONLY )) < 0 )
|
||||||
return first;
|
return first;
|
||||||
|
Loading…
Reference in New Issue
Block a user