parse-root-opts: first check for ro, later for rw
This order is already in 98usrmount.master
parent
96c6fa9202
commit
aa505d588f
|
@ -5,8 +5,8 @@
|
||||||
root=$(getarg root=)
|
root=$(getarg root=)
|
||||||
|
|
||||||
rflags="$(getarg rootflags=)"
|
rflags="$(getarg rootflags=)"
|
||||||
getargbool 0 rw && rflags="${rflags},rw"
|
|
||||||
getargbool 0 ro && rflags="${rflags},ro"
|
getargbool 0 ro && rflags="${rflags},ro"
|
||||||
|
getargbool 0 rw && rflags="${rflags},rw"
|
||||||
rflags="${rflags#,}"
|
rflags="${rflags#,}"
|
||||||
|
|
||||||
fstype="$(getarg rootfstype=)"
|
fstype="$(getarg rootfstype=)"
|
||||||
|
|
Loading…
Reference in New Issue