diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-08-28 18:02:29 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-08-28 18:02:29 +0000 |
commit | b0023a478c709783f9da1b16550d778ca94075fd (patch) | |
tree | 1bf6a2cc634cbc236db7c1b6cfa7dffe0fc48c78 | |
parent | 321601779029020a7c83eb3b5c327f282a748c69 (diff) | |
download | drakx-b0023a478c709783f9da1b16550d778ca94075fd.tar drakx-b0023a478c709783f9da1b16550d778ca94075fd.tar.gz drakx-b0023a478c709783f9da1b16550d778ca94075fd.tar.bz2 drakx-b0023a478c709783f9da1b16550d778ca94075fd.tar.xz drakx-b0023a478c709783f9da1b16550d778ca94075fd.zip |
restart associated ethernet device for dsl connections needing it
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
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"; |