summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-10 18:50:29 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-10 18:50:29 +0100
commitd6fa2efe6d51f5b8a821ad126a65d364feec2343 (patch)
tree927d44dd65667d637fb396593cd1e4b932f404d0 /debian
parent0c15f64d5b27bb81ddd7677e294a74b08a1ddb1f (diff)
downloadvyos-live-build-d6fa2efe6d51f5b8a821ad126a65d364feec2343.tar.gz
vyos-live-build-d6fa2efe6d51f5b8a821ad126a65d364feec2343.zip
Show contents of /etc/default/live-helper in bug info collection script
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'debian')
-rw-r--r--debian/bug/script9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/bug/script b/debian/bug/script
index 63c980e40..fd04f46a1 100644
--- a/debian/bug/script
+++ b/debian/bug/script
@@ -1,7 +1,16 @@
#!/bin/sh
+DEFAULT_SETTINGS="/etc/default/live-helper"
+
# Checking depends
dpkg -l debootstrap cdebootstrap
# Checking suggests
dpkg -l dosfstools genisoimage memtest86+ memtest86 mtools parted squashfs-tools genext2fs mtd-tools sudo fakeroot syslinux grub uuid-runtime
+
+if [ -e "${DEFAULT_SETTINGS}" ]; then
+ echo "Contents of ${DEFAULT_SETTINGS}:"
+ cat "${DEFAULT_SETTINGS}"
+else
+ echo "${DEFAULT_SETTINGS} does not exist."
+fi