summaryrefslogtreecommitdiff
path: root/hooks/legacylvm
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/legacylvm')
-rwxr-xr-xhooks/legacylvm2
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/legacylvm b/hooks/legacylvm
index ffdf038..9121f90 100755
--- a/hooks/legacylvm
+++ b/hooks/legacylvm
@@ -16,6 +16,8 @@ prereqs)
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