Fix bug 87673. Option passing for dmraid. dodmraid= on the cmdline. sets up /sbin/dmraid -ay .

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@219 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent e4c77638ba
commit cdbe36231a

@ -407,9 +407,13 @@ startVolumes() {
then
if [ -e '/sbin/dmraid' ]
then
good_msg "Activating Device-Mapper RAID(s)"
/sbin/dmraid -ay
if [ '${DMRAID_OPTS}' = '' ]
then
/sbin/dmraid -ay
else
/sbin/dmraid -ay ${DMRAID_OPTS}
fi
fi
fi

@ -107,6 +107,10 @@ do
dodmraid)
USE_DMRAID_NORMAL=1
;;
dodmraid\=*)
DMRAID_OPTS=`parse_opt "${x}"`
USE_DMRAID_NORMAL=1
;;
doevms)
USE_EVMS_NORMAL=1
;;

Loading…
Cancel
Save