about summary refs log tree commit diff
path: root/3
diff options
context:
space:
mode:
authorbougyman <bougyman@rubyists.com>2015-04-07 12:11:49 -0500
committerbougyman <bougyman@rubyists.com>2015-04-07 12:54:35 -0500
commitb935de9d7be296aca2dfffbc97fdcdf0beb69ea0 (patch)
tree0e17c2d4cfe907a981782ccf7cecaa3312549d88 /3
parent41372a524a97915a52f85caab68a003f4ae0dea8 (diff)
downloadrunit-void-b935de9d7be296aca2dfffbc97fdcdf0beb69ea0.tar.gz
runit-void-b935de9d7be296aca2dfffbc97fdcdf0beb69ea0.tar.xz
runit-void-b935de9d7be296aca2dfffbc97fdcdf0beb69ea0.zip
3: Detect and deactivate LVM Volume Groups on shutdown
Diffstat (limited to '3')
-rwxr-xr-x32
1 files changed, 2 insertions, 0 deletions
diff --git a/3 b/3
index c40c894..d0428d6 100755
--- a/3
+++ b/3
@@ -49,6 +49,8 @@ fi
 sync
 
 if [ -z "$VIRTUALIZATION" ]; then
+    deactivate_vgs
+    deactivate_crypt
     if [ -e /run/runit/reboot ] && command -v kexec >/dev/null; then
         msg "Triggering kexec..."
         kexec -e 2>/dev/null