wok view hardinfo/stuff/modules.patch @ rev 622

hardinfo: get the right path for lsmod and user id
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 21 00:18:12 2008 +0200 (2008-04-21)
parents
children 98a51003b20d
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 @@ -42,7 +42,7 @@
4 module_list = NULL;
5 g_hash_table_foreach_remove(moreinfo, remove_module_devices, NULL);
7 - lsmod = popen("/sbin/lsmod", "r");
8 + lsmod = popen("/bin/lsmod", "r");
9 if (!lsmod)
10 return;