From 0a2d01bc8133480f875eb5ef40ddb938968cdf5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Tue, 18 Nov 2008 19:37:48 +0000 Subject: [PATCH] Correct my wrong changes and remove duplicated defines. Reload the filter after the restasrt to be sure we do not have any problems if the ip address changes. --- usr/local/www/interfaces.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 920bba862d..c213acd871 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -50,12 +50,8 @@ 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 '' | /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"); - +define("CRON_PPPOE_CMD", "#!/bin/sh\necho '' | /usr/local/bin/php -q"); function getMPDCRONSettings() { global $config;