summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-08 13:03:58 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-08 13:03:58 +0000
commit991b117fa96757b706c5a4c7fc6db42b8dc55636 (patch)
tree4cdad605165f27993eedb1e1a603e478cb550bba /perl-install
parentf756327e8545b80bf4a11c474531f66309cbf15a (diff)
downloaddrakx-991b117fa96757b706c5a4c7fc6db42b8dc55636.tar
drakx-991b117fa96757b706c5a4c7fc6db42b8dc55636.tar.gz
drakx-991b117fa96757b706c5a4c7fc6db42b8dc55636.tar.bz2
drakx-991b117fa96757b706c5a4c7fc6db42b8dc55636.tar.xz
drakx-991b117fa96757b706c5a4c7fc6db42b8dc55636.zip
really read system kppp configuration (happy birthday little bug)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/modem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 838224f85..9b0a9c3f3 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -22,7 +22,7 @@ sub get_user_home() {
sub ppp_read_conf() {
my $modem = {};
my %l = getVarsFromSh(get_user_home() . "/.kde/share/config/kppprc");
- add2hash(\%l, getVarsFromSh("$::prefix/usr/share/config/kppprc"));
+ add2hash(\%l, { getVarsFromSh("$::prefix/usr/share/config/kppprc") });
$l{Authentication} = 4 if $l{Authentication} !~ /\d/;
$modem->{$_} ||= $l{$_} foreach qw(Authentication Gateway IPAddr SubnetMask);
$modem->{connection} ||= $l{Name};