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