[Patch] Use correct location for dhclient lease files on Mandriva
- From: Frederik Himpe <fhimpe telenet be>
- To: networkmanager-list gnome org
- Subject: [Patch] Use correct location for dhclient lease files on Mandriva
- Date: Sun, 15 Nov 2009 14:28:51 +0000 (UTC)
This patch makes networkmanager use the correct location for
dhclient lease files on Mandriva.
--- NetworkManager-0.7.996/src/dhcp-manager/nm-dhcp-dhclient.c~ 2009-10-19 19:50:32.000000000 +0200
+++ NetworkManager-0.7.996/src/dhcp-manager/nm-dhcp-dhclient.c 2009-11-15 15:18:02.000000000 +0100
@@ -45,7 +45,7 @@
#if defined(TARGET_DEBIAN)
#define NM_DHCP_MANAGER_LEASE_DIR LOCALSTATEDIR "/lib/dhcp3"
-#elif defined(TARGET_SUSE)
+#elif defined(TARGET_SUSE) || defined(TARGET_MANDRIVA)
#define NM_DHCP_MANAGER_LEASE_DIR LOCALSTATEDIR "/lib/dhcp"
#else
#define NM_DHCP_MANAGER_LEASE_DIR LOCALSTATEDIR "/lib/dhclient"
--
Frederik Himpe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]