repo.or.cz
/
dracut.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
network: don't use "ifup -m"
[dracut.git]
/
modules.d
/
99base
/
parse-root-opts.sh
blob
5b74ad25b1e813f144b96c98a9bb8ed24594acdc
1
#!/bin/sh
2
3
root
=
$
(
getarg root
=)
4
5
rflags
=
"$(getarg rootflags=)"
6
getargbool
0
ro
&&
rflags
=
"
${rflags}
,ro"
7
getargbool
0
rw
&&
rflags
=
"
${rflags}
,rw"
8
rflags
=
"
${rflags#,}
"
9
10
fstype
=
"$(getarg rootfstype=)"
11
if
[
-z
"
$fstype
"
];
then
12
fstype
=
"auto"
13
fi
14