projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
733541d
)
RAID 1 and 10 support spares
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 15 Aug 2009 00:20:06 +0000
(17:20 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 15 Aug 2009 00:20:06 +0000
(17:20 -0700)
raid/raid_form.cgi
patch
|
blob
|
history
diff --git
a/raid/raid_form.cgi
b/raid/raid_form.cgi
index
293c252
..
d42a57c
100755
(executable)
--- a/
raid/raid_form.cgi
+++ b/
raid/raid_form.cgi
@@
-70,7
+70,7
@@
print &ui_table_row($text{'create_chunk'},
print &ui_table_row($text{'create_disks'},
&ui_select("disks", undef, \@disks, 4, 1));
-if ($lvl
>= 4 && $lvl !
= 10) {
+if ($lvl
== 1 || $lvl == 4 || $lvl == 5 || $lvl =
= 10) {
print &ui_table_row($text{'create_spares'},
&ui_select("spares", undef, \@disks, 4, 1));
}