summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-05-25 11:22:16 +0000
committerFrancois Pons <fpons@mandriva.com>2000-05-25 11:22:16 +0000
commita5cbe2370666644c7728729ba948c7a6336566b8 (patch)
treeb75de99178b83fd925a0e9e81808cf2cc11be791 /perl-install/modules.pm
parent3817c0ae5ac9d2bd27f74d62cefb1336b6088657 (diff)
downloaddrakx-backup-do-not-use-a5cbe2370666644c7728729ba948c7a6336566b8.tar
drakx-backup-do-not-use-a5cbe2370666644c7728729ba948c7a6336566b8.tar.gz
drakx-backup-do-not-use-a5cbe2370666644c7728729ba948c7a6336566b8.tar.bz2
drakx-backup-do-not-use-a5cbe2370666644c7728729ba948c7a6336566b8.tar.xz
drakx-backup-do-not-use-a5cbe2370666644c7728729ba948c7a6336566b8.zip
*** empty log message ***
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm11
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($;&$) {