summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-12 09:38:18 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-12 09:38:18 +0000
commit1e820ce6d8d7ec5e58a4e548241e728d9a06eed1 (patch)
treec5444c68c5ab5a0c8de2208842a23a0b33e42988
parent2719bc8d0150ec8d6df10ec59a4024dc52a40b9b (diff)
downloaddrakx-backup-do-not-use-1e820ce6d8d7ec5e58a4e548241e728d9a06eed1.tar
drakx-backup-do-not-use-1e820ce6d8d7ec5e58a4e548241e728d9a06eed1.tar.gz
drakx-backup-do-not-use-1e820ce6d8d7ec5e58a4e548241e728d9a06eed1.tar.bz2
drakx-backup-do-not-use-1e820ce6d8d7ec5e58a4e548241e728d9a06eed1.tar.xz
drakx-backup-do-not-use-1e820ce6d8d7ec5e58a4e548241e728d9a06eed1.zip
configure profile in order to avoid standalone networking tools to complain
about unconfigured device.
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 348c01fc1..0d5a2a78a 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -653,6 +653,10 @@ sub configureNetwork {
output_with_perm($f, 0755, "\nif$_ eth0\n");
}
output "$o->{prefix}/etc/sysconfig/network-scripts/net_cnx_pg", "\n/usr/sbin/drakconnet\n";
+
+ $o->{netcnx}{$_} = $o->{netc}{$_} foreach qw(NET_DEVICE NET_INTERFACE);
+ $o->{netcnx}{NET_INTERFACE} and set_net_conf($o->{netcnx}, $o->{netc});
+ save_conf($o->{netcnx}, $o->{netc}, $o->{intf});
}
}