summaryrefslogtreecommitdiff
path: root/hooks/legacylvm
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/legacylvm')
-rwxr-xr-xhooks/legacylvm28
1 files changed, 0 insertions, 28 deletions
diff --git a/hooks/legacylvm b/hooks/legacylvm
deleted file mode 100755
index 9121f90..0000000
--- a/hooks/legacylvm
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-# FIXME: Remove this hook after Lenny releases
-. /usr/share/initramfs-tools/hook-functions
-
-if [ -x /sbin/vgchange ] && [ -d /lib/lvm-200 ] \
- && [ ! -f /usr/share/initramfs-tools/hooks/lvm2 ]; then
- copy_exec /lib/lvm-200/vgchange /sbin
- for x in dm_mod dm_snapshot dm_mirror; do
- manual_add_modules ${x}
- done
-fi
-exit 0