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.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 7becd4a69..ba1dbbfbc 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -52,7 +52,7 @@ qq(
),
qq(
/sbin/ifdown $netc->{NET_DEVICE}
-));
+), $netcnx->{type});
1;
}
@@ -80,7 +80,7 @@ qq(
qq(
/etc/rc.d/init.d/network stop
/sbin/ifup lo
-));
+), $netcnx->{type});
}
$::isStandalone and modules::write_conf($prefix);
1;