diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/raid.pm | 1 |
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); |