source: pkg/main/initramfs-tools/trunk/hooks/legacylvm @ 1888

Revision 1888, 444 bytes checked in by alanbach-guest, 7 years ago (diff)

Updated initramfs-tools, 0.90

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3PREREQ=""
4
5prereqs()
6{
7        echo "$PREREQ"
8}
9
10case $1 in
11# get pre-requisites
12prereqs)
13        prereqs
14        exit 0
15        ;;
16esac
17
18# FIXME: Remove this hook after Lenny releases
19. /usr/share/initramfs-tools/hook-functions
20
21if [ -x /sbin/vgchange ] && [ -d /lib/lvm-200 ] \
22        && [ ! -f /usr/share/initramfs-tools/hooks/lvm2 ]; then
23        copy_exec /lib/lvm-200/vgchange /sbin
24        for x in dm_mod dm_snapshot dm_mirror; do
25                manual_add_modules ${x}
26        done
27fi
28exit 0
Note: See TracBrowser for help on using the repository browser.