summaryrefslogtreecommitdiff
blob: 7895815b555efd2c7af01661dabdf0590e0f6d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From e061c0f683d4c9504ed16284fd46e8fce3845c2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
Date: Thu, 26 Jul 2012 15:58:27 +0200
Subject: [PATCH 14/14] 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 files changed, 1 insertions(+), 1 deletions(-)

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=)"
-- 
1.7.8.6