summaryrefslogtreecommitdiffstats
path: root/perl-install/network/modem.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-31 15:18:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-31 15:18:09 +0000
commit51039844febe1dc7c3f7ac5b3409f00e1679ab76 (patch)
tree1852183fcf4865ea2c78c5acc8a67d731f13df11 /perl-install/network/modem.pm
parented72bb62ca097fa7a874953b9fad9a60b04fed63 (diff)
downloaddrakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar.gz
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar.bz2
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.tar.xz
drakx-51039844febe1dc7c3f7ac5b3409f00e1679ab76.zip
replace "$foo" with $foo
Diffstat (limited to 'perl-install/network/modem.pm')
-rw-r--r--perl-install/network/modem.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 046ebbf8d..c90725081 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -70,13 +70,13 @@ sub modem_detect_backend {
$mouse ||={};
$mouse->{device} ||= readlink "/dev/mouse";
my $serdev = arch() =~ /ppc/ ? "macserial" : "serial";
- eval { modules::load("$serdev") };
+ eval { modules::load($serdev) };
detect_devices::probeSerialDevices();
foreach ('modem', map { "ttyS$_" } (0..7)) {
next if $mouse->{device} =~ /$_/;
next unless -e "/dev/$_";
- detect_devices::hasModem("/dev/$_") and $modem->{device} = "$_", last;
+ detect_devices::hasModem("/dev/$_") and $modem->{device} = $_, last;
}
#- add an alias for macserial on PPC