From a0b5f74447cc699c43c354cb6397ed554605729b Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Sun, 19 Sep 1999 17:04:12 +0000 Subject: *** empty log message *** --- perl-install/install_steps.pm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index cf13372b9..181c37099 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -154,7 +154,7 @@ sub afterInstallPackages($) { #- why not? cuz weather is nice today :-) [pixel] sync(); sync(); -# configPCMCIA($o->{rootPath}, $o->{pcmcia}); + $o->pcmciaConfig(); } #------------------------------------------------------------------------------ @@ -176,6 +176,21 @@ sub configureNetwork($) { #-res_init(); #- reinit the resolver so DNS changes take affect } +#------------------------------------------------------------------------------ +sub pcmciaConfig($) { + my ($o) = @_; + my $t = $o->{pcmcia}; + my $f = "$o->{prefix}/etc/sysconfig/pcmcia"; + + # should be set after installing the package above else the file will be renamed. + setVarsInSh($f, { + PCMCIA => $t ? "yes" : "no", + PCIC => $t, + PCIC_OPTS => "", + CORE_OPTS => "", + }); +} + #------------------------------------------------------------------------------ sub timeConfig { my ($o, $f) = @_; -- cgit v1.2.1