blob: 9121f902c0c12c435768301cbd9b18b77c01160c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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
|