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 9776924e6..4edb584b6 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -75,8 +75,7 @@ sub configure_lan {
$netcnx->{type}='lan';
$netcnx->{NET_DEVICE} = $netc->{NET_DEVICE} = '';
$netcnx->{NET_INTERFACE} = 'lan'; #$netc->{NET_INTERFACE};
- }
- write_cnx_script($netc, "local network",
+ write_cnx_script($netc, "local network",
qq(
#!/bin/bash
/etc/rc.d/init.d/network restart
@@ -86,6 +85,7 @@ qq(
/etc/rc.d/init.d/network stop
/sbin/ifup lo
));
+ }
$::isStandalone and modules::write_conf($prefix);
1;
}