wok view hardinfo/stuff/modules.patch @ rev 6223
Up: hardinfo to 0.5.1. It only uses languages and os patches now i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 22:56:32 2010 +0000 (2010-09-11) |
parents | b22fba97e731 |
children |
line source
1 --- arch/linux/common/modules.h Sun Nov 4 14:14:30 2007
2 +++ arch/linux/common/modules.h Sun Apr 20 23:49:38 2008
3 @@ -43,6 +43,10 @@
4 g_hash_table_foreach_remove(moreinfo, remove_module_devices, NULL);
6 lsmod = popen("/sbin/lsmod", "r");
7 +
8 + if (!lsmod)
9 + lsmod = popen("/bin/lsmod", "r");
10 +
11 if (!lsmod)
12 return;