From 5862c823a3dca7a95027134b05b731d46d0db1d7 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 6 Jan 2007 12:47:33 +0000 Subject: Let the fun begin! :) --- hardinfo2/computer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hardinfo2/computer.c') diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c index a9bd3a93..b1fd029a 100644 --- a/hardinfo2/computer.c +++ b/hardinfo2/computer.c @@ -357,17 +357,17 @@ gchar *callback_users() "%s\n", human_users, sys_users); } -gchar *get_is_linux_24(void) +gchar *get_os_kernel(void) { scan_os(FALSE); - return strstr(computer->os->kernel, "Linux 2.4") ? "" : NULL; + return computer->os->kernel; } ShellModuleMethod* hi_exported_methods(void) { static ShellModuleMethod m[] = { - { "isLinux2.4", get_is_linux_24 }, + { "getOSKernel", get_os_kernel }, { NULL } }; -- cgit v1.2.3