aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-05-15 19:19:48 +0200
committerintrigeri <intrigeri@boum.org>2011-05-15 19:19:48 +0200
commit49a5c563211685d00cd8de0a195ae26972c52bbd (patch)
tree622b5dcf170c39f7a7925080e8205407e7435022
parentd32cc2318ce6cc6fc634ef73b97d0bbebf2feea3 (diff)
downloadbackupninja-49a5c563211685d00cd8de0a195ae26972c52bbd.tar.gz
backupninja-49a5c563211685d00cd8de0a195ae26972c52bbd.tar.bz2
sys: fix gathering of information about loaded modules.
cut is in /usr/bin actually.
-rw-r--r--ChangeLog2
-rwxr-xr-xhandlers/sys.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2157afb..87bf36b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,8 @@ version 0.9.9 -- UNRELEASED
. Do arithmetic using bash rather than bc (Closes: #603173)
sys:
. Fix hwinfo (Closes: #625501)
+ . Fix gathering of information about loaded modules:
+ cut is in /usr/bin actually.
tar:
. Install by default. (Closes Redmine bug #2907)
helper changes
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"