summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_ppp.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/interfaces_ppp.php')
-rw-r--r--usr/local/www/interfaces_ppp.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_ppp.php b/usr/local/www/interfaces_ppp.php
index c698cb6..7429ae0 100644
--- a/usr/local/www/interfaces_ppp.php
+++ b/usr/local/www/interfaces_ppp.php
@@ -30,6 +30,10 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ pfSense_BUILDER_BINARIES: /bin/kill /sbin/ifconfig
+ pfSense_MODULE: interfaces
+*/
##|+PRIV
##|*IDENT=page-interfaces-ppp
@@ -38,7 +42,6 @@
##|*MATCH=interfaces_ppp.php*
##|-PRIV
-
require("guiconfig.inc");
if (!is_array($config['ppps']['ppp']))
@@ -70,7 +73,7 @@ if ($_GET['act'] == "del") {
$i++;
if (file_exists("/var/run/ppp{$i}.pid")) {
$pid = trim(file_get_contents("/var/run/ppp{$i}.pid"));
- mwexec("kill {$pid}");
+ mwexec("/bin/kill {$pid}");
}
}
@@ -84,7 +87,6 @@ if ($_GET['act'] == "del") {
}
}
-
$pgtitle = "Interfaces: PPP";
include("head.inc");
OpenPOWER on IntegriCloud