From 49a5c563211685d00cd8de0a195ae26972c52bbd Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 15 May 2011 19:19:48 +0200 Subject: sys: fix gathering of information about loaded modules. cut is in /usr/bin actually. --- handlers/sys.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handlers') diff --git a/handlers/sys.in b/handlers/sys.in index 12d8f59..74133a3 100755 --- a/handlers/sys.in +++ b/handlers/sys.in @@ -350,7 +350,7 @@ STATUS="Getting kernel version:" catifexec "/bin/uname" "-a" STATUS="Checking module information:" catifexec "/sbin/lsmod" -for x in $(/sbin/lsmod | /bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null +for x in $(/sbin/lsmod | /usr/bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null ) ; do STATUS="Checking module information $x:" catifexec "/sbin/modinfo" "$x" -- cgit v1.2.3