aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-04-09 16:28:50 -0400
committerBill Nottingham <notting@redhat.com>2008-04-09 16:28:50 -0400
commit1e610b947935fa07f427c06bb0490d92ab67a0ae (patch)
tree2ed1741fd8cb6b6ae85c1dd41d5ea40ca2ee92dd /rc.d
parent48521bd0845ba766abdb8aacdba78bbbe1b8c4e3 (diff)
downloadinitscripts-1e610b947935fa07f427c06bb0490d92ab67a0ae.tar
initscripts-1e610b947935fa07f427c06bb0490d92ab67a0ae.tar.gz
initscripts-1e610b947935fa07f427c06bb0490d92ab67a0ae.tar.bz2
initscripts-1e610b947935fa07f427c06bb0490d92ab67a0ae.tar.xz
initscripts-1e610b947935fa07f427c06bb0490d92ab67a0ae.zip
Handle encrpyted LVs. (#441728)
This so needs to die.
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0f0a238b..1c149227 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -362,6 +362,13 @@ if [ -c /dev/mapper/control ]; then
fi
fi
+if [ -f /etc/crypttab ]; then
+ s=$"Starting disk encryption:"
+ echo "$s"
+ init_crypto 0 && success "$s" || failure "$s"
+ echo
+fi
+
if [ -f /fastboot ] || strstr "$cmdline" fastboot ; then
fastboot=yes
fi