From: Harald Hoyer Date: Fri, 12 Sep 2014 07:59:03 +0000 (+0200) Subject: cms/cmssetup.sh: understand DASD="none" X-Git-Tag: 039~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f954621ccde0bc9160cd90142865e7586e25b00;p=thirdparty%2Fdracut.git cms/cmssetup.sh: understand DASD="none" Treat DASD="none" as unset. https://bugzilla.redhat.com/show_bug.cgi?id=1096979 --- diff --git a/modules.d/80cms/cmssetup.sh b/modules.d/80cms/cmssetup.sh index be3f08cf2..f716eaa04 100755 --- a/modules.d/80cms/cmssetup.sh +++ b/modules.d/80cms/cmssetup.sh @@ -173,7 +173,7 @@ processcmsfile() znet_cio_free fi - if [[ $DASD ]]; then + if [[ $DASD ]] && [[ $DASD != "none" ]]; then echo $DASD | normalize_dasd_arg > /etc/dasd.conf echo "options dasd_mod dasd=$DASD" > /etc/modprobe.d/dasd_mod.conf dasd_cio_free