wok diff hardinfo/stuff/modules.patch @ rev 5013

tazbb: add TAZBB_NO_INSTALL support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 01 13:06:49 2010 +0100 (2010-03-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	Mon Mar 01 13:06:49 2010 +0100
     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