summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 0c5a70b19..adf3388bd 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -8,7 +8,7 @@ use common;
use run_program;
use network::tools;
use vars qw(@ISA @EXPORT);
-use MDK::Common::Globals "network", qw($in $prefix $install);
+use MDK::Common::Globals "network", qw($in $prefix);
@ISA = qw(Exporter);
@EXPORT = qw(configureNetwork conf_network_card conf_network_card_backend go_ethernet);
@@ -38,12 +38,12 @@ sub configure_cable {
Default is dhcpcd"),
sub { $_[0]{description} },
\@m )) {
- $f->{c}==1 and $netcnx->{dhcp_client}="dhcpcd" and $install->(qw(dhcpcd));
- $f->{c}==3 and $netcnx->{dhcp_client}="dhcpxd" and $install->(qw(dhcpxd));
- $f->{c}==4 and $netcnx->{dhcp_client}="dhcp-client" and $install->(qw(dhcp-client));
+ $f->{c}==1 and $netcnx->{dhcp_client}="dhcpcd" and $in->do_pkgs->install(qw(dhcpcd));
+ $f->{c}==3 and $netcnx->{dhcp_client}="dhcpxd" and $in->do_pkgs->install(qw(dhcpxd));
+ $f->{c}==4 and $netcnx->{dhcp_client}="dhcp-client" and $in->do_pkgs->install(qw(dhcp-client));
}
} else {
- $install->(qw(dhcpcd));
+ $in->do_pkgs->install(qw(dhcpcd));
}
go_ethernet($netc, $intf, 'dhcp', '', '', $first_time);
write_cnx_script($netc, "cable",
@@ -62,7 +62,7 @@ sub configure_lan {
$::isInstall and $in->set_help('configureNetworkIP');
require Data::Dumper;
configureNetwork($netc, $intf, $first_time) or return;
- configureNetwork2($in, $prefix, $netc, $intf, $install);
+ configureNetwork2($in, $prefix, $netc, $intf);
if ($::isStandalone and ($::expert or $in->ask_yesorno(_("Network configuration"),
_("Do you want to restart the network"), 1))) {
run_program::rooted($prefix, "/etc/rc.d/init.d/network stop");
-4/+4 * Updated againWilly Sudiarto Raharjo2005-03-141-575/+608 * Downgrade one versionWilly Sudiarto Raharjo2005-03-141-3127/+3598 * updatedWilly Sudiarto Raharjo2005-03-141-3596/+3125 * UpdatedWilly Sudiarto Raharjo2005-03-131-403/+488 * s/Netmask address/Netmask/. typo fixFunda Wang2005-03-121-1/+1 * updated pot filePablo Saratxaga2005-03-111-30/+22 * fix kde mergeThierry Vignaud2005-03-101-1/+1 * further merge with KDEThierry Vignaud2005-03-101-3/+3 * remove duplicated stringThierry Vignaud2005-03-101-8/+0 * remove uneeded stringThierry Vignaud2005-03-101-4/+0 * merge translations from KDEThierry Vignaud2005-03-101-6/+6 * merge in new stringsThierry Vignaud2005-03-101-0/+112 * Added translation for "recommended" stringPablo Saratxaga2005-03-031-3188/+3981 * updated pot filePablo Saratxaga2004-10-071-5020/+6425 * updated pot filePablo Saratxaga2004-06-141-1985/+2023 * updated pot filePablo Saratxaga2004-04-011-1085/+1100 * updated po filesPablo Saratxaga2004-03-191-2799/+3147 * updated pot filePablo Saratxaga2004-02-191-15843/+16618 * fixed my previous bad entriesPablo Saratxaga2003-12-031-353/+654 * updated pot filePablo Saratxaga2003-09-181-902/+468 * updated pot filePablo Saratxaga2003-09-121-1565/+2497 * updated pot filePablo Saratxaga2003-08-131-1681/+2386 * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-311-143/+255 * updated pot filePablo Saratxaga2003-05-16