From e638f02fbac809b552a00438a3410446069c3f90 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 May 2012 18:27:52 +0000 Subject: (write_conf) explain --- perl-install/raid.pm | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1