void-packages/templates/lvm2/files/lvm2.rc

16 lines
183 B
Plaintext

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