From f298cec9f7d4bb4dc1972cc737007b6da86d4cb0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Dec 2004 15:43:45 +0000 Subject: - rename/move install_any::write_pcmcia() as harddrake::autoconf::pcmcia() so that it became availlable for standalone tools - reuse it in harddrake service in order to configure PCMCIA cards --- perl-install/install_any.pm | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index ea9e8fe9d..194e942bd 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -1551,17 +1551,5 @@ sub configure_pcmcia { modules::read_already_loaded($modules_conf); } -sub write_pcmcia { - my ($pcic) = @_; - - #- should be set after installing the package above otherwise the file will be renamed. - setVarsInSh("$::prefix/etc/sysconfig/pcmcia", { - PCMCIA => bool2yesno($pcic), - PCIC => $pcic, - PCIC_OPTS => "", - CORE_OPTS => "", - }); -} - 1; -- cgit v1.2.1