diff options
author | damien <damien@mandriva.com> | 2000-09-29 16:04:48 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2000-09-29 16:04:48 +0000 |
commit | 7e1daf4c42b0deeb294c46a4b46e72c0857d4718 (patch) | |
tree | 711401a1d5e8b45d962f646903b14ef47e1a0a2c /perl-install/network.pm | |
parent | 5e8ddae3ad270e359310b6e289ea1adde9b3a637 (diff) | |
download | drakx-backup-do-not-use-7e1daf4c42b0deeb294c46a4b46e72c0857d4718.tar drakx-backup-do-not-use-7e1daf4c42b0deeb294c46a4b46e72c0857d4718.tar.gz drakx-backup-do-not-use-7e1daf4c42b0deeb294c46a4b46e72c0857d4718.tar.bz2 drakx-backup-do-not-use-7e1daf4c42b0deeb294c46a4b46e72c0857d4718.tar.xz drakx-backup-do-not-use-7e1daf4c42b0deeb294c46a4b46e72c0857d4718.zip |
stc
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 4 |
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); } |