diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 18:59:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-22 18:59:24 +0000 |
commit | fe227c695931034d2440f335ea30dedf69c18cd4 (patch) | |
tree | 6cb1ce8a6c0854e30d794d3e4dec549e2b6f578c /usr | |
parent | 8022eaaafc67d39da423393c2ee16be878d509db (diff) | |
download | pfsense-fe227c695931034d2440f335ea30dedf69c18cd4.zip pfsense-fe227c695931034d2440f335ea30dedf69c18cd4.tar.gz |
Move setkey to /sbin/setkey from /usr/sbin/setkey due to FreeBSD changing the location.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_ipsec_sad.php | 4 | ||||
-rwxr-xr-x | usr/local/www/diag_ipsec_spd.php | 4 | ||||
-rwxr-xr-x | usr/local/www/status.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/diag_ipsec_sad.php b/usr/local/www/diag_ipsec_sad.php index 1f05ed6..41567f8 100755 --- a/usr/local/www/diag_ipsec_sad.php +++ b/usr/local/www/diag_ipsec_sad.php @@ -57,7 +57,7 @@ include("head.inc"); /* delete any SA? */ if ($_GET['act'] == "del") { - $fd = @popen("/usr/sbin/setkey -c > /dev/null 2>&1", "w"); + $fd = @popen("/sbin/setkey -c > /dev/null 2>&1", "w"); if ($fd) { fwrite($fd, "delete {$_GET['src']} {$_GET['dst']} {$_GET['proto']} {$_GET['spi']} ;\n"); pclose($fd); @@ -66,7 +66,7 @@ if ($_GET['act'] == "del") { } /* query SAD */ -$fd = @popen("/usr/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 f22d312..021fc7e 100755 --- a/usr/local/www/diag_ipsec_spd.php +++ b/usr/local/www/diag_ipsec_spd.php @@ -57,7 +57,7 @@ include("head.inc"); /* delete any SP? */ if ($_GET['act'] == "del") { - $fd = @popen("/usr/sbin/setkey -c > /dev/null 2>&1", "w"); + $fd = @popen("/sbin/setkey -c > /dev/null 2>&1", "w"); if ($fd) { fwrite($fd, "spddelete {$_GET['src']} {$_GET['dst']} any -P {$_GET['dir']} ;\n"); pclose($fd); @@ -66,7 +66,7 @@ if ($_GET['act'] == "del") { } /* query SAD */ -$fd = @popen("/usr/sbin/setkey -DP", "r"); +$fd = @popen("/sbin/setkey -DP", "r"); $spd = array(); if ($fd) { while (!feof($fd)) { diff --git a/usr/local/www/status.php b/usr/local/www/status.php index 3af85dd..bc6f8c5 100755 --- a/usr/local/www/status.php +++ b/usr/local/www/status.php @@ -128,8 +128,8 @@ defCmdT("ez-ipupdate.cache","cat /conf/ez-ipupdate.cache"); defCmdT("df","/bin/df"); defCmdT("racoon.conf","cat /var/etc/racoon.conf"); -defCmdT("SPD","/usr/sbin/setkey -DP"); -defCmdT("SAD","/usr/sbin/setkey -D"); +defCmdT("SPD","/sbin/setkey -DP"); +defCmdT("SAD","/sbin/setkey -D"); defCmdT("last 200 system log entries","/usr/sbin/clog /var/log/system.log 2>&1 | tail -n 200"); defCmdT("last 50 filter log entries","/usr/sbin/clog /var/log/filter.log 2>&1 | tail -n 50"); |