aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/netfs
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-06-23 13:49:30 -0400
committerBill Nottingham <notting@redhat.com>2010-06-23 13:50:00 -0400
commitf15d4585ba5fe2e56fa07e54752c6d91830377f2 (patch)
treefe8b81c19bfe2154f58754909e199de0e44dd482 /rc.d/init.d/netfs
parent7b2d2b5db67765ff6ac0a1ce94f3ee06665fa2f7 (diff)
downloadinitscripts-f15d4585ba5fe2e56fa07e54752c6d91830377f2.tar
initscripts-f15d4585ba5fe2e56fa07e54752c6d91830377f2.tar.gz
initscripts-f15d4585ba5fe2e56fa07e54752c6d91830377f2.tar.bz2
initscripts-f15d4585ba5fe2e56fa07e54752c6d91830377f2.tar.xz
initscripts-f15d4585ba5fe2e56fa07e54752c6d91830377f2.zip
Also init_crypto for encrypyed network block devices. (#605600)
Diffstat (limited to 'rc.d/init.d/netfs')
-rwxr-xr-xrc.d/init.d/netfs5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 96bc117a..501a8cb0 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -58,6 +58,11 @@ case "$1" in
action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y
fi
fi
+
+ if [ -f /etc/crypttab ]; then
+ init_crypto 1
+ fi
+
STRING=$"Checking network-attached filesystems"
echo $STRING