void-packages/templates/lvm2/files/lvm2.rc
Juan RP 285a4df5d6 lvm2: fixed root on LVM. Bump revision.
--HG--
extra : convert_revision : 16248a8cc2d1a31eb220ccdfa1abc1695ab577e5
2009-10-06 18:02:51 +02:00

15 lines
183 B
Text

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