summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-01-14 17:34:00 +0100
committermaximilian attems <maks@debian.org>2006-01-14 17:34:00 +0100
commitbce0c73e77b777ef03894d703c727dbf4b0f4298 (patch)
tree21fb64ac5f9a44ec280b3ce4a4c95a7be14e21a7 /hooks
parentb8a9c0fbd0830aa536882d2047c7df0472a9faf5 (diff)
downloadinitramfs-tools-bce0c73e77b777ef03894d703c727dbf4b0f4298.tar.gz
initramfs-tools-bce0c73e77b777ef03894d703c727dbf4b0f4298.zip
evms took their own hooks. :)
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/evms36
1 files changed, 0 insertions, 36 deletions
diff --git a/hooks/evms b/hooks/evms
deleted file mode 100755
index a58b2a4..0000000
--- a/hooks/evms
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-. /usr/share/initramfs-tools/hook-functions
-
-if [ ! -x /sbin/evms_activate ]; then
- exit 0
-fi
-
-copy_exec /sbin/evms_activate /sbin
-cp /etc/evms.conf ${DESTDIR}/etc
-
-EVMS_VERSION=$(/usr/sbin/evms_query info | grep "EVMS Version" | awk '{ print $3; }')
-
-mkdir -p ${DESTDIR}/lib/evms/${EVMS_VERSION}
-
-for x in bbr bbr_seg bsd disk dos drivelink gpt lvm2 mac md multipath; do
- copy_exec /lib/evms/${EVMS_VERSION}/${x}-*.so /lib/evms/${EVMS_VERSION}
-done
-
-for x in dm_mod linear raid0 raid1 raid10 raid5 raid6; do
- manual_add_modules ${x}
-done