summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Prokop <mika@grml.org>2010-06-15 18:22:15 +0200
committerMichael Prokop <mika@grml.org>2010-06-15 18:22:15 +0200
commit7afab22b3d9bbcc5e2843a9fa634a50082e9c6d3 (patch)
treec134e705c62a6feaceec5f535566df75272c5761
parent3a02c6f37d4c331b347692a0200941c4c59b3ea3 (diff)
downloadinitramfs-tools-7afab22b3d9bbcc5e2843a9fa634a50082e9c6d3.tar.gz
initramfs-tools-7afab22b3d9bbcc5e2843a9fa634a50082e9c6d3.zip
debian/script: append /proc/mdstat (iff present) to bugreports
Signed-off-by: Michael Prokop <mika@grml.org>
-rwxr-xr-xdebian/script6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/script b/debian/script
index da030d1..fa706cd 100755
--- a/debian/script
+++ b/debian/script
@@ -46,6 +46,12 @@ if [ -r /etc/crypttab ]; then
echo
fi
+if [ -r /proc/mdstat ]; then
+ echo "-- /proc/mdstat"
+ cat /proc/mdstat
+ echo
+fi
+
if grep -q "MODULES=dep" /etc/initramfs-tools/initramfs.conf ; then
echo "-- /sys/block"
ls /sys/block