3 # try to load module in case that hasn't been done yet
4 modprobe dm-mod
>/dev
/null
2>&1
8 [ -x /sbin
/dmraid
] ||
exit 0
12 echo "Setting up DMRAID devices..."
13 /sbin
/dmraid
--activate yes --ignorelocking --verbose
17 echo "Shutting down DMRAID devices... "
18 /sbin
/dmraid
--activate no
--ignorelocking --verbose
28 echo "Usage: dmraid {start|stop|restart|force-reload}"