summaryrefslogtreecommitdiff
path: root/debian/initramfs-tools.preinst
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-10-18 13:16:03 +0200
committermaximilian attems <maks@debian.org>2006-10-18 13:16:03 +0200
commitdc67493c8b72ebb4a360194a13c74a13d06def52 (patch)
tree8bdbde7e898899789d9ecb54c511cb0de577c13d /debian/initramfs-tools.preinst
parent63f337b6a8cfa058bb2ed9fcf0de6a71f3ffb9ab (diff)
downloadinitramfs-tools-dc67493c8b72ebb4a360194a13c74a13d06def52.tar.gz
initramfs-tools-dc67493c8b72ebb4a360194a13c74a13d06def52.zip
- improve run_bootloader (elilo, zipl)
- fix preinst sed command - bunch of minor fixes
Diffstat (limited to 'debian/initramfs-tools.preinst')
-rw-r--r--debian/initramfs-tools.preinst4
1 files changed, 1 insertions, 3 deletions
diff --git a/debian/initramfs-tools.preinst b/debian/initramfs-tools.preinst
index fc1fd06..aa8c8ca 100644
--- a/debian/initramfs-tools.preinst
+++ b/debian/initramfs-tools.preinst
@@ -4,7 +4,6 @@ set -e
case "$1" in
install)
- if [ -n "$2" ]; then
mkdir -p /etc/initramfs-tools/conf.d
# First time install. Can we autodetect the RESUME partition?
@@ -29,7 +28,7 @@ case "$1" in
-e '/# This file should/,/one per line\./d' \
-e 's/Comments begin with.*/Syntax: module_name [args ...]/' \
-e 's/^# ext2$/# raid1/' \
- -e 's/^# wd io=0x300$/# sd_mod/'
+ -e 's/^# wd io=0x300$/# sd_mod/' \
-e '/^ide-generic/d' \
-e '/^ide-disk/d' \
-e '/^ext2/d' \
@@ -40,7 +39,6 @@ case "$1" in
if [ -e /etc/mkinitrd/DSDT ]; then
cp /etc/mkinitrd/DSDT /etc/initramfs-tools/DSDT.aml
fi
- fi
;;
upgrade)
if [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.61"; then