vp-build/srcpkgs/lvm2/files/lvm2.rc
Juan RP 350dc28872 lvm2: improve the rc service and initramfs-tools hook, bumprev.
--HG--
extra : convert_revision : 6cbf65693e39b4841ddd2e4b68454e69c8dac1b9
2010-03-01 10:22:56 +01:00

17 lines
206 B
Plaintext

#!/sbin/runscript
#
# OpenRC service for LVM.
depend()
{
after *
}
start()
{
ebegin "Deactivating LVM volumes"
lvm vgchange --ignoremonitoring --ignorelockingfailure \
-an >/dev/null 2>&1
eend $?
}