diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-27 12:06:52 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-27 12:06:52 +0000 |
commit | 34a9764cc430cfa0db12af7178b0d0a347b8423a (patch) | |
tree | 5dace860a16ab76e44c7d62077ab91f5a6adb8d0 /perl-install | |
parent | 8fb993e064a06b3958a498a588e37500937af881 (diff) | |
download | drakx-backup-do-not-use-34a9764cc430cfa0db12af7178b0d0a347b8423a.tar drakx-backup-do-not-use-34a9764cc430cfa0db12af7178b0d0a347b8423a.tar.gz drakx-backup-do-not-use-34a9764cc430cfa0db12af7178b0d0a347b8423a.tar.bz2 drakx-backup-do-not-use-34a9764cc430cfa0db12af7178b0d0a347b8423a.tar.xz drakx-backup-do-not-use-34a9764cc430cfa0db12af7178b0d0a347b8423a.zip |
(ppp_read_conf) read metric if set
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/modem.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm index 9ac9f91b0..a8a056595 100644 --- a/perl-install/network/modem.pm +++ b/perl-install/network/modem.pm @@ -30,6 +30,7 @@ sub ppp_read_conf { } foreach (cat_("/etc/sysconfig/network-scripts/ifcfg-ppp0")) { /NAME=(['"]?)(.*)\1/ and $modem->{login} ||= $2; + /^METRIC=(.*)/ and $modem->{metric} = $1; } $modem->{login} ||= $l{Username}; my $secret = network::tools::read_secret_backend(); |