]> 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 08:00:23 +0000 (10:00 +0200)
Treat DASD="none" as unset.

https://bugzilla.redhat.com/show_bug.cgi?id=1096979
(cherry picked from commit 2f954621ccde0bc9160cd90142865e7586e25b00)

modules.d/80cms/cmssetup.sh

index 7dd481b56e7b92e0e2e4a6d692a9b010af4d34a8..6259ff41a10ca326bc5a48c9063a693f359a70ca 100755 (executable)
@@ -175,7 +175,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