Browse Source

parse-root-opts: first check for ro, later for rw

This order is already in 98usrmount.
master
Amadeusz Żołnowski 13 years ago committed by Harald Hoyer
parent
commit
aa505d588f
  1. 2
      modules.d/99base/parse-root-opts.sh

2
modules.d/99base/parse-root-opts.sh

@ -5,8 +5,8 @@ @@ -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…
Cancel
Save