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=)
|
||||
|
||||
rflags="$(getarg rootflags=)"
|
||||
getargbool 0 rw && rflags="${rflags},rw"
|
||||
getargbool 0 ro && rflags="${rflags},ro"
|
||||
getargbool 0 rw && rflags="${rflags},rw"
|
||||
rflags="${rflags#,}"
|
||||
|
||||
fstype="$(getarg rootfstype=)"
|
||||
|
|
Loading…
Reference in New Issue