dracut-lib.sh: fix dropped backslashes in CMDLINE
authorWill Woods <wwoods@redhat.com>
Thu, 13 Oct 2011 02:48:08 +0000 (22:48 -0400)
committerHarald Hoyer <harald@redhat.com>
Tue, 18 Oct 2011 15:13:48 +0000 (17:13 +0200)
commit2cd4a8065ac2bb6bf3708d681de56bbe1984c3ce
tree3403e671cda2362549245b68badc3c758bff0e25
parent7e8228cf5aa43722d2e6a71b5593ed1478938a31
dracut-lib.sh: fix dropped backslashes in CMDLINE

The "read" shell builtin consumes backslashes, which is a problem if
your root device is something like "LABEL=Fedora\x2016".

Using "read -r" tells the shell to leave backslashes alone.
modules.d/99base/dracut-lib.sh