diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-31 21:04:42 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-31 21:04:42 +0000 |
commit | ba3538dcc6ec5e379a7d5ee931a562d00ca7181f (patch) | |
tree | f0c9310da4e151847d409aeae7281ce783477421 /usr | |
parent | 59b04fa23535e6c654334aeaf2513bcdaecffcd8 (diff) | |
download | pfsense-ba3538dcc6ec5e379a7d5ee931a562d00ca7181f.zip pfsense-ba3538dcc6ec5e379a7d5ee931a562d00ca7181f.tar.gz |
* fix: added missing LF
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 +?> |