wok diff hardinfo/stuff/modules.patch @ rev 1968
openldap: external init script support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 01 13:54:26 2009 +0000 (2009-01-01) |
parents | b22fba97e731 |
children |
line diff
1.1 --- a/hardinfo/stuff/modules.patch Mon Apr 21 00:18:12 2008 +0200 1.2 +++ b/hardinfo/stuff/modules.patch Thu Jan 01 13:54:26 2009 +0000 1.3 @@ -1,11 +1,13 @@ 1.4 --- arch/linux/common/modules.h Sun Nov 4 14:14:30 2007 1.5 +++ arch/linux/common/modules.h Sun Apr 20 23:49:38 2008 1.6 -@@ -42,7 +42,7 @@ 1.7 - module_list = NULL; 1.8 +@@ -43,6 +43,10 @@ 1.9 g_hash_table_foreach_remove(moreinfo, remove_module_devices, NULL); 1.10 1.11 -- lsmod = popen("/sbin/lsmod", "r"); 1.12 -+ lsmod = popen("/bin/lsmod", "r"); 1.13 + lsmod = popen("/sbin/lsmod", "r"); 1.14 ++ 1.15 ++ if (!lsmod) 1.16 ++ lsmod = popen("/bin/lsmod", "r"); 1.17 ++ 1.18 if (!lsmod) 1.19 return; 1.20