aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-06-24 15:13:51 +0000
committerintrigeri <intrigeri@boum.org>2008-06-24 15:13:51 +0000
commit56617bfc5bd846f660ac015d7ee349e0134c7a43 (patch)
treecf1547cc09dd1d5e36fbe334aa5c73263f5c9c74 /handlers/sys.in
parent1330b16c992fbede7ca09ecc87eb6c01af1bc19f (diff)
downloadbackupninja-56617bfc5bd846f660ac015d7ee349e0134c7a43.tar.gz
backupninja-56617bfc5bd846f660ac015d7ee349e0134c7a43.tar.bz2
sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39)
Diffstat (limited to 'handlers/sys.in')
-rwxr-xr-xhandlers/sys.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/handlers/sys.in b/handlers/sys.in
index b6c7fbc..7b9fbb3 100755
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -275,9 +275,6 @@ for x in $(/sbin/lsmod | /bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2
catifexec "/sbin/modinfo $x"
done
-STATUS="Currently getting ksysms information:"
-catifexec "/sbin/ksyms"
-
STATUS="Gathering information about your filesystems:"
catiffile "/proc/filesystems"
@@ -288,7 +285,7 @@ STATUS="Gathering information about your partitions:"
catiffile "/proc/partitions"
STATUS="Gathering information about your ksyms:"
-catiffile "/proc/ksyms"
+catiffile "/proc/kallsyms"
STATUS="Gathering information about slabinfo:"
catiffile "/proc/slabinfo"