From d6fa2efe6d51f5b8a821ad126a65d364feec2343 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 10 Jun 2008 18:50:29 +0100 Subject: [PATCH] Show contents of /etc/default/live-helper in bug info collection script Signed-off-by: Chris Lamb --- debian/bug/script | 9 +++++++++ 1 file changed, 9 insertions(+) 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