summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-21 12:22:08 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-21 12:22:08 +0000
commit79655753befda870a059c6f2585276bad33139f2 (patch)
tree81dadbaf284c977eb6e101c412e0abf572b88294 /perl-install/standalone/service_harddrake
parent184cbe104549ec01e766aa353551fb8d1b1e133e (diff)
downloaddrakx-backup-do-not-use-79655753befda870a059c6f2585276bad33139f2.tar
drakx-backup-do-not-use-79655753befda870a059c6f2585276bad33139f2.tar.gz
drakx-backup-do-not-use-79655753befda870a059c6f2585276bad33139f2.tar.bz2
drakx-backup-do-not-use-79655753befda870a059c6f2585276bad33139f2.tar.xz
drakx-backup-do-not-use-79655753befda870a059c6f2585276bad33139f2.zip
rename media auto configuration functions (and restore old is_removable)
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index f1ef00d8c..1df867999 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -140,12 +140,12 @@ foreach my $hw_class (@harddrake::data::tree) {
next if $Ident eq 'MOUSE' && $curr_kernel ne $previous_kernel_config{KERNEL} && $cfg{"DETECT_$Ident"} ne 'force';
my @configurator_pool;
- if (harddrake::data::is_removable($Ident)) {
+ if (harddrake::data::is_auto_configurable_media($Ident)) {
foreach my $device (@ID{@added}) {
- push @configurator_pool, harddrake::data::set_removable_auto_configurator($Ident, $device);
+ push @configurator_pool, harddrake::data::set_media_auto_configurator($Ident, $device);
}
foreach my $device (@$oldconfig{@was_removed}) {
- push @configurator_pool, harddrake::data::set_removable_remover($Ident, $device);
+ push @configurator_pool, harddrake::data::set_media_remover($Ident, $device);
}
} else {
@configurator_pool = $configurator;