aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rcS.d/180-initcrypto2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rcS.d/180-initcrypto2.sh')
-rwxr-xr-xrc.d/rcS.d/180-initcrypto2.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/rcS.d/180-initcrypto2.sh b/rc.d/rcS.d/180-initcrypto2.sh
new file mode 100755
index 00000000..dd1ba876
--- /dev/null
+++ b/rc.d/rcS.d/180-initcrypto2.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+[[ $(type -t strstr) = "function" ]] || . /etc/init.d/functions
+
+if [ -f /etc/crypttab ]; then
+ init_crypto 0
+fi
+: