diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-06-03 08:33:12 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-06-03 08:33:12 +0000 |
commit | 1181b5a61a8aa93e03abeeab3b27e8b745c07e13 (patch) | |
tree | 5b2d04402e11b08ca5666fa33d8cd1df5151f942 /perl-install/network/tools.pm | |
parent | 36bbe6afa4a99fe365da5d57552fadbfed10b623 (diff) | |
download | drakx-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar drakx-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar.gz drakx-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar.bz2 drakx-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar.xz drakx-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.zip |
net interface is now in $net->{net_interface}
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r-- | perl-install/network/tools.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index 478dca21d..220105a53 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -48,13 +48,13 @@ sub passwd_by_login { } sub connect_backend { - my ($netc) = @_; - run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifup", $netc->{NET_INTERFACE}); + my ($net) = @_; + run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifup", $net->{net_interface}); } sub disconnect_backend { - my ($netc) = @_; - run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifdown", $netc->{NET_INTERFACE}); + my ($net) = @_; + run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifdown", $net->{net_interface}); } sub bg_command_as_root { |