Revision 8171fcd9
Added by Scott Ullrich about 18 years ago
usr/local/www/interfaces.php | ||
---|---|---|
36 | 36 |
define("CRON_DAILY_PATTERN", "0 0 * * *"); |
37 | 37 |
define("CRON_HOURLY_PATTERN", "0 * * * *"); |
38 | 38 |
define("CRON_PPPOE_CMD_FILE", "/etc/pppoerestart"); |
39 |
define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); |
|
39 |
define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); services_dyndns_reset(); ?>' | /usr/local/bin/php -q");
|
|
40 | 40 |
|
41 | 41 |
function getMPDCRONSettings() { |
42 | 42 |
global $config; |
Also available in: Unified diff
Reset dynamic dns upon pppoe forced disconnect.
Ticket #1325