diff options
author | Francois Pons <fpons@mandriva.com> | 2000-05-25 11:22:16 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-05-25 11:22:16 +0000 |
commit | a5cbe2370666644c7728729ba948c7a6336566b8 (patch) | |
tree | b75de99178b83fd925a0e9e81808cf2cc11be791 /perl-install/modules.pm | |
parent | 3817c0ae5ac9d2bd27f74d62cefb1336b6088657 (diff) | |
download | drakx-a5cbe2370666644c7728729ba948c7a6336566b8.tar drakx-a5cbe2370666644c7728729ba948c7a6336566b8.tar.gz drakx-a5cbe2370666644c7728729ba948c7a6336566b8.tar.bz2 drakx-a5cbe2370666644c7728729ba948c7a6336566b8.tar.xz drakx-a5cbe2370666644c7728729ba948c7a6336566b8.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 58979b307..69b9a884e 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -516,9 +516,14 @@ sub write_conf { sub read_stage1_conf { add2hash(\%conf, read_conf($_[0], \$scsi)); - $conf{parport_lowlevel}{alias} ||= "parport_pc"; - $conf{pcmcia_core}{"pre-install"} ||= "CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start"; - $conf{plip}{"pre-install"} ||= "modprobe parport_pc ; echo 7 > /proc/parport/0/irq"; + if (arch() =~ /sparc/) { + $conf{parport_lowlevel}{alias} ||= "parport_ax"; + $conf{plip}{"pre-install"} ||= "modprobe parport_ax ; echo 7 > /proc/parport/0/irq"; #- TOCHECK + } else { + $conf{parport_lowlevel}{alias} ||= "parport_pc"; + $conf{pcmcia_core}{"pre-install"} ||= "CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start"; + $conf{plip}{"pre-install"} ||= "modprobe parport_pc ; echo 7 > /proc/parport/0/irq"; + } } sub load_thiskind($;&$) { |