summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-28 18:02:29 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-28 18:02:29 +0000
commitb0023a478c709783f9da1b16550d778ca94075fd (patch)
tree1bf6a2cc634cbc236db7c1b6cfa7dffe0fc48c78 /perl-install/network/netconnect.pm
parent321601779029020a7c83eb3b5c327f282a748c69 (diff)
downloaddrakx-backup-do-not-use-b0023a478c709783f9da1b16550d778ca94075fd.tar
drakx-backup-do-not-use-b0023a478c709783f9da1b16550d778ca94075fd.tar.gz
drakx-backup-do-not-use-b0023a478c709783f9da1b16550d778ca94075fd.tar.bz2
drakx-backup-do-not-use-b0023a478c709783f9da1b16550d778ca94075fd.tar.xz
drakx-backup-do-not-use-b0023a478c709783f9da1b16550d778ca94075fd.zip
restart associated ethernet device for dsl connections needing it
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 11e1be2f2..00186b0d7 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -154,6 +154,10 @@ sub real_main {
services::restart("network");
} else {
network::tools::stop_net_interface($net, 0);
+ if (exists $net->{adsl}{ethernet_device}) {
+ network::tools::stop_interface($net->{adsl}{ethernet_device}, 0);
+ network::tools::stop_interface($net->{adsl}{ethernet_device}, 0);
+ }
network::tools::start_net_interface($net, 0);
}
return "end";