2009-10-03 10:58:22 +02:00
|
|
|
#!/sbin/runscript
|
|
|
|
#
|
|
|
|
# OpenRC service for LVM.
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
2009-10-06 18:02:51 +02:00
|
|
|
after *
|
2009-10-03 10:58:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
start()
|
|
|
|
{
|
|
|
|
ebegin "Deactivating LVM volumes"
|
2010-03-01 10:22:56 +01:00
|
|
|
lvm vgchange --ignoremonitoring --ignorelockingfailure \
|
|
|
|
-an >/dev/null 2>&1
|
2009-10-03 10:58:22 +02:00
|
|
|
eend $?
|
|
|
|
}
|