From aa505d588f92c41e4060b75e8fde729a01fe9c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Date: Thu, 26 Jul 2012 15:58:27 +0200 Subject: [PATCH] parse-root-opts: first check for ro, later for rw This order is already in 98usrmount. --- modules.d/99base/parse-root-opts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/99base/parse-root-opts.sh b/modules.d/99base/parse-root-opts.sh index 7b0b758..b74eeb3 100755 --- a/modules.d/99base/parse-root-opts.sh +++ b/modules.d/99base/parse-root-opts.sh @@ -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=)"