summaryrefslogtreecommitdiff
path: root/testing/lvm2/lvm2_hook
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-06-08 19:37:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-06-08 19:37:29 +0000
commit8735a5c54cf26dd5b5b686850f800a4aed49ff78 (patch)
treeac7404dae428201298c7fed6e3b5360443763694 /testing/lvm2/lvm2_hook
parent7d11e9346ebd0f9c378952caee0c82d6ca815f4e (diff)
Fri Jun 8 19:37:17 UTC 2012
Diffstat (limited to 'testing/lvm2/lvm2_hook')
-rw-r--r--testing/lvm2/lvm2_hook24
1 files changed, 0 insertions, 24 deletions
diff --git a/testing/lvm2/lvm2_hook b/testing/lvm2/lvm2_hook
deleted file mode 100644
index e69b3349a..000000000
--- a/testing/lvm2/lvm2_hook
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/ash
-
-run_hook() {
- local pvdev
-
- modprobe -q dm-mod >/dev/null 2>&1
-
- # If the lvmwait= parameter has been specified on the command line
- # wait for the device(s) before trying to activate the volume group(s)
- for pvdev in ${lvmwait//,/ }; do
- poll_device ${pvdev} ${rootdelay}
- done
-
- msg "Activating logical volumes..."
- [ -d /etc/lvm ] && lvm vgscan
-
- if [ -n "$quiet" ]; then
- lvm vgchange --sysinit -a y >/dev/null
- else
- lvm vgchange --sysinit -a y
- fi
-}
-
-# vim: set ft=sh ts=4 sw=4 et: