]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
cms/cmssetup.sh: understand DASD="none"
authorHarald Hoyer <harald@redhat.com>
Fri, 12 Sep 2014 07:59:03 +0000 (09:59 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 12 Sep 2014 07:59:03 +0000 (09:59 +0200)
Treat DASD="none" as unset.

https://bugzilla.redhat.com/show_bug.cgi?id=1096979

modules.d/80cms/cmssetup.sh

index be3f08cf2976370fec2268e5794350e258e651b9..f716eaa0481911a1a989e92d13782310a32b5892 100755 (executable)
@@ -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