summaryrefslogtreecommitdiff
path: root/debian/initramfs-tools.preinst
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-07-02 18:57:07 +0200
committermaximilian attems <maks@debian.org>2006-07-02 18:57:07 +0200
commit0d341b8d32810844ce035e89a9e60fb7a7dde4b6 (patch)
tree55a7b2d2fe9e9cde049c1e7962b3baef00107c5b /debian/initramfs-tools.preinst
parent09276c4c9f7deb9a46cf162747b5749f94738c2b (diff)
downloadinitramfs-tools-0d341b8d32810844ce035e89a9e60fb7a7dde4b6.tar.gz
initramfs-tools-0d341b8d32810844ce035e89a9e60fb7a7dde4b6.zip
woow pile of stuff turned up:
- cleanup of activate_vg() in lvm boot script - use less of busybox utilities - conf.d for BUSYBOX=y usage for the packages - don't poke on conffile for RESUME - use printf instead of expr (ooh ash and dash are *fun*) - fix update-initramfs to use current_version when no other version exists around
Diffstat (limited to 'debian/initramfs-tools.preinst')
-rw-r--r--debian/initramfs-tools.preinst9
1 files changed, 0 insertions, 9 deletions
diff --git a/debian/initramfs-tools.preinst b/debian/initramfs-tools.preinst
index 3ec83c6..f2b667e 100644
--- a/debian/initramfs-tools.preinst
+++ b/debian/initramfs-tools.preinst
@@ -19,13 +19,4 @@ case "$1" in
;;
esac
-[ -f /etc/initramfs-tools/initramfs.conf ] && . /etc/initramfs-tools/initramfs.conf
-if [ -z ${RESUME} ]; then
- exit 0
-else
- mkdir -p /etc/initramfs-tools/conf.d
- echo "RESUME=${RESUME}" > /etc/initramfs-tools/conf.d/resume
- sed -i -e "s/RESUME=.*/#RESUME=/" /etc/initramfs-tools/initramfs.conf
-fi
-
#DEBHELPER#