Revision 5c8e8a17
Added by Marcus Brown about 15 years ago
usr/local/www/interfaces_ppps_edit.php | ||
---|---|---|
44 | 44 |
require("guiconfig.inc"); |
45 | 45 |
require("functions.inc"); |
46 | 46 |
|
47 |
define("CRON_PPPOE_CMD_FILE", "{$g['varetc_path']}/pppoe_restart_"); |
|
48 | 47 |
define("CRON_MONTHLY_PATTERN", "0 0 1 * *"); |
49 | 48 |
define("CRON_WEEKLY_PATTERN", "0 0 * * 0"); |
50 | 49 |
define("CRON_DAILY_PATTERN", "0 0 * * *"); |
Also available in: Unified diff
Make pppoe reset work again with new <if> naming scheme.
Previous commit also moved pppoe reset functions to interfaces.inc
so we don't have to duplicate in interfaces.php and interfaces_ppps_edit.php
Also, add code so that when ppp config section gets deleted, associated <cron>
item gets deleted for pppoe-reset cron items.