]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fall back to filesystem type "auto"
authorHarald Hoyer <harald@redhat.com>
Fri, 15 May 2009 11:15:11 +0000 (13:15 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 May 2009 11:15:11 +0000 (13:15 +0200)
modules.d/95rootfs-block-udev/parse-root-opts.sh

index 473c34dc1e6d9ff1f5a8bcfad0081589890726f6..77aed558a13551d5ffe608a1ae0a4da29e8b9ebc 100755 (executable)
@@ -22,6 +22,6 @@ else
     getarg rw && rflags=rw || rflags=ro
 fi
 
-fstype="$(getarg rootfstype=)" && fstype="-t ${fstype}"
+fstype="$(getarg rootfstype=)" && fstype="-t ${fstype}" || fstype="-t auto"
 
 export fstype rflags root