summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-18 17:18:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-18 17:18:02 +0000
commitdc711694a4797157d66ac149d69f783caae527fe (patch)
tree67df7fbdd9a3bd455b18492adabd5d3a2bc0bca6
parentb24697f91078fd2d874bd849210c5d3a8a4841aa (diff)
downloadpfsense-dc711694a4797157d66ac149d69f783caae527fe.zip
pfsense-dc711694a4797157d66ac149d69f783caae527fe.tar.gz
Use interface_reconfigure()
-rwxr-xr-xusr/local/www/interfaces.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index ba9bede..920bba8 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -50,9 +50,13 @@ define("CRON_MONTHLY_PATTERN", "0 0 1 * *");
define("CRON_WEEKLY_PATTERN", "0 0 * * 0");
define("CRON_DAILY_PATTERN", "0 0 * * *");
define("CRON_HOURLY_PATTERN", "0 * * * *");
+
+define("CRON_PPPOE_CMD_FILE", "/etc/pppoerestart");
+define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interface_reconfigure($if); services_dyndns_reset($if); ?>' | /usr/local/bin/php -q");
define("CRON_PPPOE_CMD_FILE", "{$g['varetc_path']}/pppoe{$if}restart");
define("CRON_PPPOE_CMD", "#!/bin/sh\n/usr/bin/touch /tmp/filter_dirty");
+
function getMPDCRONSettings() {
global $config;
OpenPOWER on IntegriCloud