summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-06-13 20:43:04 +0200
committermaximilian attems <maks@debian.org>2010-06-13 20:43:04 +0200
commita8a5ce4030983af37715f2581099d453473fd0ea (patch)
treeb3626567d313ba961c9264e67787b73e561affd2
parentd2914e36a645da74bf7294f8d4a9ddf7ea0af170 (diff)
downloadinitramfs-tools-a8a5ce4030983af37715f2581099d453473fd0ea.tar.gz
initramfs-tools-a8a5ce4030983af37715f2581099d453473fd0ea.zip
script: Add update-initramfs.conf to bug report
we see lately unbound variables from there, so it's nice to have it. Signed-off-by: maximilian attems <maks@debian.org>
-rwxr-xr-xdebian/script6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/script b/debian/script
index 43ae7d1..da030d1 100755
--- a/debian/script
+++ b/debian/script
@@ -34,6 +34,12 @@ if [ -r /etc/initramfs-tools/initramfs.conf ]; then
echo
fi
+if [ -r /etc/initramfs-tools/update-initramfs.conf ]; then
+ echo "-- /etc/initramfs-tools/update-initramfs.conf"
+ sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/update-initramfs.conf
+ echo
+fi
+
if [ -r /etc/crypttab ]; then
echo "-- /etc/crypttab"
cat /etc/crypttab