summaryrefslogtreecommitdiff
path: root/community/kvpnc/vpnc-paths.patch
blob: 5dc66638d1618281c313a5c8e6762e14387d896a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/kvpncconfig.cpp.orig	2013-05-19 14:37:11.867517045 -0400
+++ src/kvpncconfig.cpp	2013-05-19 14:37:31.702107829 -0400
@@ -865,7 +865,7 @@
     enableDebugXl2tpdtunnel = QVariant(configgroup.readEntry("EnableDebugXl2tpdtunnel", false)).toBool();
 
 
-    pathToVpnc = configgroup.readEntry("Path to vpnc-bin", "/usr/sbin/vpnc");
+    pathToVpnc = configgroup.readEntry("Path to vpnc-bin", "/usr/bin/vpnc");
     pathToCiscoVpnc = configgroup.readEntry("Path to vpnclient", "/usr/local/bin/vpnclient");
     pathToSetkey = configgroup.readEntry("Path to setkey", "/usr/sbin/setkey");
     pathToRacoon = configgroup.readEntry("Path to racoon", "/usr/sbin/racoon");
@@ -1489,7 +1489,7 @@
 void KVpncConfig::checkStandardPathValues()
 {
     if (pathToVpnc.isEmpty())
-        pathToVpnc = "/usr/sbin/vpnc";
+        pathToVpnc = "/usr/bin/vpnc";
 
     if (pathToCiscoVpnc.isEmpty())
         pathToCiscoVpnc = "/usr/local/bin/vpnclient";