diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 4 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 8325493..6ad97d7 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 echo '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); +define("CRON_PPPOE_CMD", "#!/bin/sh echo\n'<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); function getMPDCRONSettings() { global $config; @@ -1038,4 +1038,4 @@ if ($_POST) { } } -?>
\ No newline at end of file +?> diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 8325493..6ad97d7 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 echo '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); +define("CRON_PPPOE_CMD", "#!/bin/sh echo\n'<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q"); function getMPDCRONSettings() { global $config; @@ -1038,4 +1038,4 @@ if ($_POST) { } } -?>
\ No newline at end of file +?> |