summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-03 08:37:00 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-03 08:37:00 +0000
commit654695f2102e7059dacf954e1b08baf8740c6935 (patch)
tree799e8cf3b738c8ea3aa6ceede0848134c94b17eb
parente1fb1756286b5da5c3e8f89f41de02292f86ddea (diff)
downloaddrakx-654695f2102e7059dacf954e1b08baf8740c6935.tar
drakx-654695f2102e7059dacf954e1b08baf8740c6935.tar.gz
drakx-654695f2102e7059dacf954e1b08baf8740c6935.tar.bz2
drakx-654695f2102e7059dacf954e1b08baf8740c6935.tar.xz
drakx-654695f2102e7059dacf954e1b08baf8740c6935.zip
domain name is already in /etc/resolv.conf (and stage2 reads this file too), don't write it in /tmp/network
-rw-r--r--mdk-stage1/network.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 1d65acdaf..8bdb2f480 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -287,8 +287,6 @@ static int save_netinfo(struct interface_info * intf)
if (hostname && !intf->boot_proto == BOOTPROTO_DHCP)
fprintf(f, "HOSTNAME=%s\n", hostname);
- if (domain)
- fprintf(f, "DOMAINNAME=%s\n", domain);
if (dhcp_hostname && !streq(dhcp_hostname, ""))
fprintf(f, "DHCP_HOSTNAME=%s\n", dhcp_hostname);