wok-current annotate hardinfo/stuff/modules.patch @ rev 1773
hardinfo: fix usb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 17:23:48 2008 +0000 (2008-11-28) |
parents | b22fba97e731 |
children |
rev | line source |
---|---|
pankso@622 | 1 --- arch/linux/common/modules.h Sun Nov 4 14:14:30 2007 |
pankso@622 | 2 +++ arch/linux/common/modules.h Sun Apr 20 23:49:38 2008 |
pascal@1773 | 3 @@ -43,6 +43,10 @@ |
pankso@622 | 4 g_hash_table_foreach_remove(moreinfo, remove_module_devices, NULL); |
pankso@622 | 5 |
pascal@1773 | 6 lsmod = popen("/sbin/lsmod", "r"); |
pascal@1773 | 7 + |
pascal@1773 | 8 + if (!lsmod) |
pascal@1773 | 9 + lsmod = popen("/bin/lsmod", "r"); |
pascal@1773 | 10 + |
pankso@622 | 11 if (!lsmod) |
pankso@622 | 12 return; |
pankso@622 | 13 |