summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-02-28 17:40:38 +0100
committermaximilian attems <maks@debian.org>2006-02-28 17:40:38 +0100
commitd6bcfac2500607902f76bcead5517e8ae80f5d01 (patch)
tree0ce7d2d5fab55299d0f4c39f9515df1c0c874b8c /hooks
parent75b6694d4359db60f73416d1fe0c9e5bfb3ba812 (diff)
downloadinitramfs-tools-d6bcfac2500607902f76bcead5517e8ae80f5d01.tar.gz
initramfs-tools-d6bcfac2500607902f76bcead5517e8ae80f5d01.zip
don't stumble on lvm10 leftovers, explicitly check for lvm2
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/lvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/lvm b/hooks/lvm
index 63316e5..e29215e 100755
--- a/hooks/lvm
+++ b/hooks/lvm
@@ -14,7 +14,7 @@ prereqs)
;;
esac
-if [ ! -x /sbin/vgchange ]; then
+if [ ! -x /sbin/vgchange -a ! -d /lib/lvm-200 ]; then
exit 0
fi