diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-17 13:52:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-17 13:52:34 +0000 |
commit | 8171fcd9708aaf6e59d5285f26f24f90250e3f4d (patch) | |
tree | c29b181d89261706c19c39a2640b3e9efe82ebec /usr | |
parent | 97baba3128c522a99027b563327d4af7576d563d (diff) | |
download | pfsense-8171fcd9708aaf6e59d5285f26f24f90250e3f4d.zip pfsense-8171fcd9708aaf6e59d5285f26f24f90250e3f4d.tar.gz |
Reset dynamic dns upon pppoe forced disconnect.
Ticket #1325
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 5e8d3d2..cff5023 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -36,7 +36,7 @@ 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\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); +define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); services_dyndns_reset(); ?>' | /usr/local/bin/php -q"); function getMPDCRONSettings() { global $config; diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 5e8d3d2..cff5023 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -36,7 +36,7 @@ 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\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); +define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); services_dyndns_reset(); ?>' | /usr/local/bin/php -q"); function getMPDCRONSettings() { global $config; |