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"
|
|
|
|
lvm vgchange --ignorelockingfailure -an 2>&1 >/dev/null
|
|
|
|
eend $?
|
|
|
|
}
|