summaryrefslogtreecommitdiffstats
path: root/package/dmraid/dmraid.init
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-04 13:22:38 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-04 13:22:38 +0000
commit39fc31066982a9e8041992fb2cf7d03e2c748ad6 (patch)
treee0c578b3db70ac2f3a4425075e8d54b8ab80abbf /package/dmraid/dmraid.init
parent624b1c4cf1a76e3b7afa1383884a88fd21c73497 (diff)
downloadbuildroot-novena-39fc31066982a9e8041992fb2cf7d03e2c748ad6.tar.gz
buildroot-novena-39fc31066982a9e8041992fb2cf7d03e2c748ad6.zip
dmraid: fix build & convert to Makefile.autotools.in
Patch by Olaf Rempel <razzor@kopf-tisch.de> - was not building at all (x86 uclibc) - adding devicemapper dependency
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..."