summaryrefslogtreecommitdiffstats
path: root/package/dmraid/dmraid.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/dmraid/dmraid.init')
-rw-r--r--package/dmraid/dmraid.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/dmraid/dmraid.init b/package/dmraid/dmraid.init
index 43240e266..970d47d8e 100644
--- a/package/dmraid/dmraid.init
+++ b/package/dmraid/dmraid.init
@@ -1,12 +1,12 @@
#!/bin/sh
-# try to load module in case that hasn't been done yet
-modprobe dm-mod >/dev/null 2>&1
-
set -e
[ -x /sbin/dmraid ] || exit 0
+# try to load module in case that hasn't been done yet
+modprobe dm-mod >/dev/null 2>&1
+
case "$1" in
start|"")
echo "Setting up DMRAID devices..."