summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_ppp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-14 19:14:40 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-14 19:14:40 -0400
commit7ac5a4cb18367693e0a4c576cbcd907ee7d5ad67 (patch)
treeb0a8a6eb89e7bffa911b8bf0b1cbb888195334c1 /usr/local/www/interfaces_ppp.php
parent13d193c2f742f037ff4e87e373922d8b6e7c5749 (diff)
downloadpfsense-7ac5a4cb18367693e0a4c576cbcd907ee7d5ad67.zip
pfsense-7ac5a4cb18367693e0a4c576cbcd907ee7d5ad67.tar.gz
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
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