Author: glen
Date: Fri Nov 9 01:49:53 2007
New Revision: 9026
Modified:
rc-scripts/trunk/rc.d/rc.shutdown
Log:
- add /etc/crypttab processing
Modified: rc-scripts/trunk/rc.d/rc.shutdown
==============================================================================
--- rc-scripts/trunk/rc.d/rc.shutdown (original)
+++ rc-scripts/trunk/rc.d/rc.shutdown Fri Nov 9 01:49:53 2007
@@ -145,6 +145,11 @@
_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)
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit