about summary refs log tree commit diff
path: root/pkgs/tools/networking/network-manager/pptp-purity.patch
blob: 88af666b6580d3e1170fa76815ee731d8cc89fdb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/src/nm-pptp-service.c b/src/nm-pptp-service.c
index 68a5759..568bbfe 100644
--- a/src/nm-pptp-service.c
+++ b/src/nm-pptp-service.c
@@ -730,9 +730,7 @@ nm_find_pppd (void)
 {
 	static const char *pppd_binary_paths[] =
 		{
-			"/sbin/pppd",
-			"/usr/sbin/pppd",
-			"/usr/local/sbin/pppd",
+			"@ppp@/sbin/pppd",
 			NULL
 		};

@@ -752,9 +750,7 @@ nm_find_pptp (void)
 {
 	static const char *pptp_binary_paths[] =
 		{
-			"/sbin/pptp",
-			"/usr/sbin/pptp",
-			"/usr/local/sbin/pptp",
+			"@pptp@/sbin/pptp",
 			NULL
 		};