summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:27:52 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:27:52 +0000
commite638f02fbac809b552a00438a3410446069c3f90 (patch)
tree302c0af74422e9792852146724fafaf639930c6f /perl-install
parente0895be6c55a385e45c60c97f2a651a1b1559f25 (diff)
downloaddrakx-e638f02fbac809b552a00438a3410446069c3f90.tar
drakx-e638f02fbac809b552a00438a3410446069c3f90.tar.gz
drakx-e638f02fbac809b552a00438a3410446069c3f90.tar.bz2
drakx-e638f02fbac809b552a00438a3410446069c3f90.tar.xz
drakx-e638f02fbac809b552a00438a3410446069c3f90.zip
(write_conf) explain
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/raid.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 156504d29..8ffc0f4e3 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -270,6 +270,7 @@ sub write_conf {
my @devices = uniq(map { devices::make($_->{device}) } map { @{$_->{disks}} } @$raids);
+ # $::isInstall test for draklive-install:
output($::isInstall ? "$::prefix/etc/mdadm.conf" : "/etc/mdadm.conf",
join(' ', 'DEVICE', @devices) . "\n",
map { "ARRAY " . devices::make($_->{device}) . " UUID=$_->{UUID} auto=yes\n" } @$raids);