]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- add /etc/crypttab processing
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Nov 2007 00:49:53 +0000 (00:49 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Nov 2007 00:49:53 +0000 (00:49 +0000)
svn-id: @9026

rc.d/rc.shutdown

index 42de07dc6e23dbf75374cc8b5a0fef3dbe2c90f2..398b1b5f47f3c81761449341c56b150a35370ecd 100755 (executable)
@@ -145,6 +145,11 @@ else
        _rebootwhat="vserver"
 fi
 
+if [ -f /etc/crypttab ]; then
+       show "Stopping disk encryption:"
+       halt_crypto && ok || fail
+fi
+
 if [ "$runlevel" = "0" ] ; then
        show "The $_rebootwhat is halted"; ok
        [ -f /fastboot ] && (show "On the next boot fsck will be skipped."; ok)
This page took 0.038785 seconds and 4 git commands to generate.