use detect_devices; package detect_devices; log::l("PATCHING"); *raidAutoStartRaidtab = sub { my (@parts) = @_; log::l("patched raidAutoStartRaidtab"); $::isInstall or return; require raid; #- faking a raidtab, it seems to be working :-))) #- (choosing any inactive md) raid::inactivate_all(); foreach (@parts) { my ($nb) = grep { !raid::is_active("md$_") } 0..7; output("/tmp/raidtab", "raiddev /dev/md$nb\n device " . devices::make($_->{device}) . "\n"); run_program::run('raidstart', '-c', "/tmp/raidtab", devices::make("md$nb")); } unlink "/tmp/raidtab"; }; use raid; package raid; *prepare_prefixed = sub { my ($raids, $prefix) = @_; log::l("patched prepare_prefixed"); $raids or return; &write($raids, "/etc/raidtab") if ! -e "/etc/raidtab"; eval { cp_af("/etc/raidtab", "$prefix/etc/raidtab") }; foreach (grep { $_ } @$raids) { devices::make("$prefix/dev/$_->{device}") foreach @{$_->{disks}}; } }; >distro/mdv2008.0 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install/wizards.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-27 01:12:17 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-27 01:12:17 +0000
commit620bd864a0fee466ed3989e3a9414d947220c61f (patch)
tree404c12830568538938655151529f1e349e4d5fa1 /perl-install/wizards.pm
parent6e77e8ba7d0334e8361c58cfc44cd842357ed455 (diff)
downloaddrakx-620bd864a0fee466ed3989e3a9414d947220c61f.tar
drakx-620bd864a0fee466ed3989e3a9414d947220c61f.tar.gz
drakx-620bd864a0fee466ed3989e3a9414d947220c61f.tar.bz2
drakx-620bd864a0fee466ed3989e3a9414d947220c61f.tar.xz
drakx-620bd864a0fee466ed3989e3a9414d947220c61f.zip
Added support for drakroam authentication (#29566).
Diffstat (limited to 'perl-install/wizards.pm')
0 files changed, 0 insertions, 0 deletions