wok-next diff hardinfo/stuff/modules.patch @ rev 2027

Add: lftp
author Fabrice THIROUX <mimas@slitaz.org>
date Fri Jan 09 00:01:38 2009 +0100 (2009-01-09)
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	Fri Jan 09 00:01:38 2009 +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