dracut-systemd/dracut-initqueue: only start service if really needed
[dracut.git] / modules.d / 99base / parse-root-opts.sh
blob5b74ad25b1e813f144b96c98a9bb8ed24594acdc
1 #!/bin/sh
3 root=$(getarg root=)
5 rflags="$(getarg rootflags=)"
6 getargbool 0 ro && rflags="${rflags},ro"
7 getargbool 0 rw && rflags="${rflags},rw"
8 rflags="${rflags#,}"
10 fstype="$(getarg rootfstype=)"
11 if [ -z "$fstype" ]; then
12 fstype="auto"