summaryrefslogtreecommitdiff
path: root/pcr/openrc-base/lvm-monitoring.initd-2.02.105-r2
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-23 03:13:28 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-23 03:13:28 -0500
commit6f1180f35fee220f92044e8f8a0a220ff308b295 (patch)
treeb6899369633ce3051d62f9f4cd5d81217f158d35 /pcr/openrc-base/lvm-monitoring.initd-2.02.105-r2
parentc2575baf97c888d66a7fef69a84b5718dbab28c9 (diff)
{cronie,cryptsetup,dbus,device,dhcpcd,glibc,inetutils,lvm2,mdadm}-openrc-20150613-1: updating version
Diffstat (limited to 'pcr/openrc-base/lvm-monitoring.initd-2.02.105-r2')
-rw-r--r--pcr/openrc-base/lvm-monitoring.initd-2.02.105-r239
1 files changed, 0 insertions, 39 deletions
diff --git a/pcr/openrc-base/lvm-monitoring.initd-2.02.105-r2 b/pcr/openrc-base/lvm-monitoring.initd-2.02.105-r2
deleted file mode 100644
index c53a60465..000000000
--- a/pcr/openrc-base/lvm-monitoring.initd-2.02.105-r2
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm-monitoring.initd-2.02.105-r2,v 1.1 2014/02/02 19:52:34 robbat2 Exp $
-
-# This script is based on upstream file
-# LVM2.2.02.67/scripts/lvm2_monitoring_init_red_hat.in
-
-depend() {
- # As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that
- # means dmeventd is NOT notified, as it cannot be safely running
- need lvm dmeventd
-}
-
-VGCHANGE=/sbin/vgchange
-VGS=/sbin/vgs
-
-start() {
- ret=0
- # TODO do we want to separate out already active groups only?
- VGSLIST=`$VGS --noheadings -o name --rows 2> /dev/null`
- ebegin "Starting LVM monitoring for VGs ${VGSLIST}:"
- $VGCHANGE --monitor y --poll y ${VGSLIST}
- ret=$?
- eend $ret
- return $ret
-
-}
-
-stop() {
- ret=0
- # TODO do we want to separate out already active groups only?
- VGSLIST=`$VGS --noheadings -o name --rows 2> /dev/null`
- ebegin "Stopping LVM monitoring for VGs ${VGSLIST}:"
- $VGCHANGE --monitor n ${VGSLIST}
- ret=$?
- eend $ret
- return $ret
-}