summaryrefslogtreecommitdiff
path: root/debian/initramfs-tools/DEBIAN/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs-tools/DEBIAN/postinst')
-rw-r--r--debian/initramfs-tools/DEBIAN/postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/initramfs-tools/DEBIAN/postinst b/debian/initramfs-tools/DEBIAN/postinst
new file mode 100644
index 0000000..36f508d
--- /dev/null
+++ b/debian/initramfs-tools/DEBIAN/postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ ! -e /etc/mkinitramfs/modules ]; then
+ cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/
+fi
+
+
+