]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/rootfs-generator.sh: ignore legacy root=/dev/nfs
authorHarald Hoyer <harald@redhat.com>
Fri, 17 Jan 2014 12:40:05 +0000 (13:40 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 17 Jan 2014 13:52:01 +0000 (14:52 +0100)
modules.d/98systemd/rootfs-generator.sh

index 555027f343fa6ff8eca10ad780c51ae46602f131..9810026da0223a3a1d9204a8dab95d7a2bcab047 100755 (executable)
@@ -22,6 +22,8 @@ case "$root" in
         root="${root#block:}"
         root="block:/dev/disk/by-partlabel/${root#PARTLABEL=}"
         rootok=1 ;;
+    /dev/nfs) # ignore legacy /dev/nfs
+        ;;
     /dev/*)
         root="block:${root}"
         rootok=1 ;;