From 33547b8d8b64a10187b9c452eef7325d909889a1 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Thu, 23 Apr 2009 10:42:43 -0400 Subject: [PATCH] dhcp: use correct dhclient config file location for Gentoo (bgo #579737) --- src/dhcp-manager/nm-dhcp-dhclient.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/dhcp-manager/nm-dhcp-dhclient.c b/src/dhcp-manager/nm-dhcp-dhclient.c index 946be0c..34b36f1 100644 --- a/src/dhcp-manager/nm-dhcp-dhclient.c +++ b/src/dhcp-manager/nm-dhcp-dhclient.c @@ -167,6 +167,8 @@ create_dhclient_config (NMDHCPDevice *device, NMSettingIP4Config *s_ip4) orig = g_strdup (SYSCONFDIR "/dhclient.conf"); #elif defined(TARGET_DEBIAN) orig = g_strdup (SYSCONFDIR "/dhcp3/dhclient.conf"); +#elif defined(TARGET_GENTOO) + orig = g_strdup (SYSCONFDIR "/dhcp/dhclient.conf"); #else orig = g_strdup_printf (SYSCONFDIR "/dhclient-%s.conf", device->iface); #endif -- 1.6.2