diff options
author | Harald Hoyer <harald@redhat.com> | 2008-10-14 17:25:53 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2008-11-10 19:05:37 +0100 |
commit | 4a93d7a26c5bc2c80447be7b57cd85217838e3a8 (patch) | |
tree | ec29bf31f50c250ec8d3c54a5fd54e931031ef28 /rc.d/rc.sysinit | |
parent | 265055a21f0a93fac03e7c383057a31122283650 (diff) | |
download | initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar.gz initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar.bz2 initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.tar.xz initscripts-4a93d7a26c5bc2c80447be7b57cd85217838e3a8.zip |
Mount encrypted logical volumes during boot (#466115, Bill Nottingham)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 7f28783b..f5dd0b36 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -458,6 +458,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 |