summaryrefslogtreecommitdiff
path: root/scripts/local-top/lvm
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-07-29 14:49:39 +0200
committermaximilian attems <maks@debian.org>2006-07-29 14:49:39 +0200
commit5d46a04527bd3023e4f34cc99029ffc281f42110 (patch)
treeb9104286af5a3ca6778cc836581b86ab5a3573fc /scripts/local-top/lvm
parent8761821795732a9755d673e92fb45ac9202270df (diff)
downloadinitramfs-tools-5d46a04527bd3023e4f34cc99029ffc281f42110.tar.gz
initramfs-tools-5d46a04527bd3023e4f34cc99029ffc281f42110.zip
- take care of partial mdadm/lvm Sarge upgrades
this compat stuff can go once Etch is released - framebuffer stuff for usplash - don't leave modules file behind - thanks piuparts!
Diffstat (limited to 'scripts/local-top/lvm')
-rwxr-xr-xscripts/local-top/lvm6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/local-top/lvm b/scripts/local-top/lvm
index 9a45220..f9d1490 100755
--- a/scripts/local-top/lvm
+++ b/scripts/local-top/lvm
@@ -1,6 +1,6 @@
#!/bin/sh
-PREREQ="mdadm"
+PREREQ="mdadm mdraid lvm2"
prereqs()
{
@@ -56,6 +56,10 @@ activate_vg()
vgchange -ay ${vg}
}
+if [ -e /scripts/local-top/lvm2 ]; then
+ exit 0
+fi
+
if [ ! -e /sbin/vgchange ]; then
exit 0
fi