summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-08 15:20:46 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-08 15:20:46 +0000
commit2081830eabca5455daed8cf56604cebf7d31b426 (patch)
tree3e2ed024bb44a26186dc2b866b9d67ae425381c1 /perl-install
parent8926342d37889e94301b731267492b34ae486547 (diff)
downloaddrakx-backup-do-not-use-2081830eabca5455daed8cf56604cebf7d31b426.tar
drakx-backup-do-not-use-2081830eabca5455daed8cf56604cebf7d31b426.tar.gz
drakx-backup-do-not-use-2081830eabca5455daed8cf56604cebf7d31b426.tar.bz2
drakx-backup-do-not-use-2081830eabca5455daed8cf56604cebf7d31b426.tar.xz
drakx-backup-do-not-use-2081830eabca5455daed8cf56604cebf7d31b426.zip
keep MS_DNS1, MS_DNS2 and DOMAIN variables in ifcfg files
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/network.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 55b73f895..c781ca53c 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -56,6 +56,9 @@ my $tmdns_file = "/etc/tmdns.conf";
#- BOOTPROTO : boot prototype : "bootp" or "dhcp" or "pump" or ...
#- IPV6INIT
#- IPV6TO4INIT
+#- MS_DNS1
+#- MS_DNS2
+#- DOMAIN
sub read_conf {
my ($file) = @_;
@@ -195,7 +198,7 @@ sub write_interface_conf {
defined($intf->{METRIC}) or $intf->{METRIC} = network::tools::get_default_metric(network::tools::get_interface_type($intf)),
$intf->{BOOTPROTO} =~ s/dhcp.*/dhcp/;
- setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR METRIC MII_NOT_SUPPORTED TYPE USERCTL ATM_ADDR ETHTOOL_OPTS VLAN MTU),
+ setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR METRIC MII_NOT_SUPPORTED TYPE USERCTL ATM_ADDR ETHTOOL_OPTS VLAN MTU MS_DNS1 MS_DNS2 DOMAIN),
qw(WIRELESS_MODE WIRELESS_ESSID WIRELESS_NWID WIRELESS_FREQ WIRELESS_SENS WIRELESS_RATE WIRELESS_ENC_KEY WIRELESS_RTS WIRELESS_FRAG WIRELESS_IWCONFIG WIRELESS_IWSPY WIRELESS_IWPRIV WIRELESS_WPA_DRIVER),
qw(DVB_ADAPTER_ID DVB_NETWORK_DEMUX DVB_NETWORK_PID),
qw(IPV6INIT IPV6TO4INIT),