summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-03 08:33:12 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-03 08:33:12 +0000
commit1181b5a61a8aa93e03abeeab3b27e8b745c07e13 (patch)
tree5b2d04402e11b08ca5666fa33d8cd1df5151f942
parent36bbe6afa4a99fe365da5d57552fadbfed10b623 (diff)
downloaddrakx-backup-do-not-use-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar
drakx-backup-do-not-use-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar.gz
drakx-backup-do-not-use-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar.bz2
drakx-backup-do-not-use-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.tar.xz
drakx-backup-do-not-use-1181b5a61a8aa93e03abeeab3b27e8b745c07e13.zip
net interface is now in $net->{net_interface}
-rw-r--r--perl-install/network/tools.pm8
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 {