summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-07-08 21:06:23 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-07-08 21:06:23 +0000
commitd852c5260a0e8800762d8a489d6ecaabca40506a (patch)
tree1b1354f8c015a2ac3e3593b76b62cd5e52165df6 /etc
parentd955eecdc0454a39571ac747263d18ee71afaffd (diff)
downloadpfsense-d852c5260a0e8800762d8a489d6ecaabca40506a.zip
pfsense-d852c5260a0e8800762d8a489d6ecaabca40506a.tar.gz
Unbreak IPSEC, correct pathnames
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 5a4b1f8..b668c5c 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -569,10 +569,10 @@ EOD;
mwexec("/usr/bin/killall -HUP racoon");
// sleep(2);
/* flushie, flushie spds */
- mwexec("/usr/local/sbin/setkey -FP");
- mwexec("/usr/local/sbin/setkey -F");
+ mwexec("/sbin/setkey -FP");
+ mwexec("/sbin/setkey -F");
/* load SPD */
- mwexec("/bin/cat {$g['varetc_path']}/spd.conf | /usr/local/bin/slowdownpipe.sh | /usr/local/sbin/setkey -c");
+ mwexec("/bin/cat {$g['varetc_path']}/spd.conf | /usr/local/bin/slowdownpipe.sh | /sbin/setkey -c");
sleep(1);
} else {
/* start racoon */
@@ -580,10 +580,10 @@ EOD;
/* sleep for a bit */
// sleep (2);
/* flushie, flushie spds */
- mwexec("/usr/local/sbin/setkey -FP");
- mwexec("/usr/local/sbin/setkey -F");
+ mwexec("/sbin/setkey -FP");
+ mwexec("/sbin/setkey -F");
/* load SPD */
- mwexec("/bin/cat {$g['varetc_path']}/spd.conf | /usr/local/bin/slowdownpipe.sh | /usr/local/sbin/setkey -c");
+ mwexec("/bin/cat {$g['varetc_path']}/spd.conf | /usr/local/bin/slowdownpipe.sh | /sbin/setkey -c");
sleep(1);
}
}
OpenPOWER on IntegriCloud