wok-4.x rev 6224
Removed users.patch and modules.patch for hardinfo. There not need anymore.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 22:58:00 2010 +0000 (2010-09-11) |
parents | 4de2c7803ae7 |
children | 6c8824502823 |
files | hardinfo/stuff/modules.patch hardinfo/stuff/users.patch |
line diff
1.1 --- a/hardinfo/stuff/modules.patch Sat Sep 11 22:56:32 2010 +0000 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,13 +0,0 @@ 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 -@@ -43,6 +43,10 @@ 1.7 - g_hash_table_foreach_remove(moreinfo, remove_module_devices, NULL); 1.8 - 1.9 - lsmod = popen("/sbin/lsmod", "r"); 1.10 -+ 1.11 -+ if (!lsmod) 1.12 -+ lsmod = popen("/bin/lsmod", "r"); 1.13 -+ 1.14 - if (!lsmod) 1.15 - return; 1.16 -
2.1 --- a/hardinfo/stuff/users.patch Sat Sep 11 22:56:32 2010 +0000 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,11 +0,0 @@ 2.4 ---- arch/common/users.h Sun Nov 4 14:14:35 2007 2.5 -+++ arch/common/users.h Sun Apr 20 23:57:31 2008 2.6 -@@ -44,7 +44,7 @@ 2.7 - 2.8 - uid = atoi(tmp[2]); 2.9 - strend(tmp[4], ','); 2.10 -- if (uid >= 1000 && uid <= 65530) { 2.11 -+ if (uid >= 500 && uid <= 65530) { 2.12 - human_users = h_strdup_cprintf("$%s$%s=%s\n", human_users, key, tmp[0], tmp[4]); 2.13 - } else { 2.14 - sys_users = h_strdup_cprintf("$%s$%s=%s\n", sys_users, key, tmp[0], tmp[4]);