summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-24 01:13:45 +0000
committerdamien <damien@mandriva.com>2001-08-24 01:13:45 +0000
commit08b9c98f8885c81df34e3c527de33164a50006e7 (patch)
tree41b714464cb319c0dc1bad0dc882ed4620b4d0c4 /perl-install/network/netconnect.pm
parentc6d1d30e6bec3c43f617427e0029dcc8fb0b67fe (diff)
downloaddrakx-08b9c98f8885c81df34e3c527de33164a50006e7.tar
drakx-08b9c98f8885c81df34e3c527de33164a50006e7.tar.gz
drakx-08b9c98f8885c81df34e3c527de33164a50006e7.tar.bz2
drakx-08b9c98f8885c81df34e3c527de33164a50006e7.tar.xz
drakx-08b9c98f8885c81df34e3c527de33164a50006e7.zip
speedtouch configuration
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index c0760322d..10bf28f3f 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -408,7 +408,8 @@ DOMAINNAME2=$netc->{DOMAINNAME2}"
["$prefix/etc/ppp/ioptions2B", "iop2B"],
["$prefix/etc/isdn/isdn1B.conf", "isdn1B"],
["$prefix/etc/isdn/isdn2B.conf", "isdn2B"],
- ["$prefix/etc/resolv.com", "resolv"],
+ ["$prefix/etc/resolv.conf", "resolv"],
+ ["$prefix/etc/ppp/peers/adsl", "speedtouch"],
) {
my $file = "$prefix/etc/sysconfig/network-scripts/net_" . $_->[1] . "." . $a;
-e ($_->[0]) and commands::cp("-f", $_->[0], $file) and chmod 0755, $file;
@@ -432,6 +433,7 @@ sub set_profile {
["$prefix/etc/isdn/isdn1B.conf", "isdn1B"],
["$prefix/etc/isdn/isdn2B.conf", "isdn2B"],
["$prefix/etc/resolv.conf", "resolv"],
+ ["$prefix/etc/ppp/peers/adsl", "speedtouch"],
) {
my $c = "$prefix/etc/sysconfig/network-scripts/net_" . $_->[1] . "." . $profile;
-e ($c) and commands::cp("-f", $c, $_->[0]);
@@ -444,7 +446,7 @@ sub del_profile {
$profile eq "default" and return;
print "deleting $profile\n";
commands::rm("-f", "$prefix/etc/sysconfig/network-scripts/draknet_conf." . $profile);
- commands::rm("-f", glob_("$prefix/etc/sysconfig/network-scripts/net_{up,down,prog,iop1B,iop2B,isdn1B,isdn2B,resolv}." . $profile));
+ commands::rm("-f", glob_("$prefix/etc/sysconfig/network-scripts/net_{up,down,prog,iop1B,iop2B,isdn1B,isdn2B,resolv,speedtouch}." . $profile));
}
sub add_profile {