diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:27:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:27:52 +0000 |
commit | dc370d2aa2d9b40e4d1fb61aaee92973d412e519 (patch) | |
tree | 302c0af74422e9792852146724fafaf639930c6f /perl-install | |
parent | cd43b5c7b51bfb460cc0a1894af24515a6d63e09 (diff) | |
download | drakx-backup-do-not-use-dc370d2aa2d9b40e4d1fb61aaee92973d412e519.tar drakx-backup-do-not-use-dc370d2aa2d9b40e4d1fb61aaee92973d412e519.tar.gz drakx-backup-do-not-use-dc370d2aa2d9b40e4d1fb61aaee92973d412e519.tar.bz2 drakx-backup-do-not-use-dc370d2aa2d9b40e4d1fb61aaee92973d412e519.tar.xz drakx-backup-do-not-use-dc370d2aa2d9b40e4d1fb61aaee92973d412e519.zip |
(write_conf) explain
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); |