summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/ipsec.inc6
-rw-r--r--usr/local/www/diag_ipsec_spd.php4
-rwxr-xr-xusr/local/www/status.php6
3 files changed, 8 insertions, 8 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc
index 22b95f2..60b7f3e 100644
--- a/etc/inc/ipsec.inc
+++ b/etc/inc/ipsec.inc
@@ -29,7 +29,7 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
- pfSense_BUILDER_BINARIES: /usr/local/sbin/setkey
+ pfSense_BUILDER_BINARIES: /sbin/setkey
pfSense_MODULE: ipsec
*/
@@ -498,7 +498,7 @@ function ipsec_smp_dump_status() {
*/
function ipsec_dump_spd()
{
- $fd = @popen("/usr/local/sbin/setkey -DP", "r");
+ $fd = @popen("/sbin/setkey -DP", "r");
$spd = array();
if ($fd) {
while (!feof($fd)) {
@@ -548,7 +548,7 @@ function ipsec_dump_spd()
*/
function ipsec_dump_sad()
{
- $fd = @popen("/usr/local/sbin/setkey -D", "r");
+ $fd = @popen("/sbin/setkey -D", "r");
$sad = array();
if ($fd) {
while (!feof($fd)) {
diff --git a/usr/local/www/diag_ipsec_spd.php b/usr/local/www/diag_ipsec_spd.php
index d156105..0a01565 100644
--- a/usr/local/www/diag_ipsec_spd.php
+++ b/usr/local/www/diag_ipsec_spd.php
@@ -32,7 +32,7 @@
*/
/*
- pfSense_BUILDER_BINARIES: /usr/local/sbin/setkey
+ pfSense_BUILDER_BINARIES: /sbin/setkey
pfSense_MODULE: ipsec
*/
@@ -52,7 +52,7 @@ include("head.inc");
/* delete any SP? */
if ($_GET['act'] == "del") {
- $fd = @popen("/usr/local/sbin/setkey -c > /dev/null 2>&1", "w");
+ $fd = @popen("/sbin/setkey -c > /dev/null 2>&1", "w");
if ($fd) {
fwrite($fd, "spddelete {$_GET['srcid']} {$_GET['dstid']} any -P {$_GET['dir']} ;\n");
pclose($fd);
diff --git a/usr/local/www/status.php b/usr/local/www/status.php
index 5b1624a..93fe21e 100755
--- a/usr/local/www/status.php
+++ b/usr/local/www/status.php
@@ -29,7 +29,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
- pfSense_BUILDER_BINARIES: /usr/bin/vmstat /usr/bin/netstat /sbin/dmesg /sbin/mount /usr/local/sbin/setkey /usr/local/sbin/pftop
+ pfSense_BUILDER_BINARIES: /usr/bin/vmstat /usr/bin/netstat /sbin/dmesg /sbin/mount /sbin/setkey /usr/local/sbin/pftop
pfSense_BUILDER_BINARIES: /sbin/pfctl /sbin/sysctl /usr/bin/top /usr/bin/netstat /sbin/pfctl /sbin/ifconfig
pfSense_MODULE: support
*/
@@ -180,8 +180,8 @@ defCmdT("dhcpd.conf","cat /var/dhcpd/etc/dhcpd.conf");
defCmdT("df","/bin/df");
defCmdT("racoon.conf","cat /var/etc/racoon.conf");
-defCmdT("SPD","/usr/local/sbin/setkey -DP");
-defCmdT("SAD","/usr/local/sbin/setkey -D");
+defCmdT("SPD","/sbin/setkey -DP");
+defCmdT("SAD","/sbin/setkey -D");
if(isset($config['system']['usefifolog'])) {
defCmdT("last 200 system log entries","/usr/sbin/fifolog_reader /var/log/system.log 2>&1 | tail -n 200");
OpenPOWER on IntegriCloud