summaryrefslogtreecommitdiffstats
path: root/perl-install/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r--perl-install/network.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm
index b91c66cdd..28537b9bb 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -277,6 +277,10 @@ such as ``mybox.mylab.myco.com''."),
$netc->{HOSTNAME} ne $dhcp_hostname and $netc->{DHCP_HOSTNAME} = $netc->{HOSTNAME};
} else {
configureNetworkNet($in, $netc, $last ||= {}, @l);
+ if ( $netc->{GATEWAY} ) {
+ unlink "$prefix/etc/sysconfig/network-scripts/net_cnx_up";
+ unlink "$prefix/etc/sysconfig/network-scripts/net_cnx_down";
+ }
}
miscellaneousNetwork($in);
}