From b0023a478c709783f9da1b16550d778ca94075fd Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 28 Aug 2005 18:02:29 +0000 Subject: restart associated ethernet device for dsl connections needing it --- perl-install/network/netconnect.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install') 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"; -- cgit v1.2.1