Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
alpine-conf
Commits
2b378636
Commit
2b378636
authored
Mar 05, 2012
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-disk: cleanup. make sure we don't add raid modules more than once
parent
524a1b0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup-disk.in
setup-disk.in
+2
-2
No files found.
setup-disk.in
View file @
2b378636
...
...
@@ -207,8 +207,8 @@ install_mounted_root() {
initfs_features
=
"
${
initfs_features
% raid
}
raid"
local
level
=
$(
cat
/sys/block/
$md
/md/level
)
case
"
$level
"
in
raid1
)
raidmod
=
"
$raidmod
,
$level
"
;;
raid[456]
)
raidmod
=
"
$raidmod
,raid456"
;;
raid1
)
raidmod
=
"
$
{
raidmod
%,raid1
}
,raid1
"
;;
raid[456]
)
raidmod
=
"
$
{
raidmod
%,raid456
}
,raid456"
;;
esac
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment