-- a/modprobe.c
++ b/modprobe.c
DIR *dir;
int ret = 0;
/* Ignore hidden dirs. This allows people to maintain things with
* SCMs like .svn/ or .git/ or ...
*/
if ((strncmp(filename, "/etc/modprobe.d/.", 17) == 0) || (strncmp(filename, "/etc/modules.d/.", 16) == 0))
return 1;
/* Reiser4 has file/directory duality: treat it as both. */
dir = opendir(filename);
if (dir) {