summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2007-01-31 21:04:42 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2007-01-31 21:04:42 +0000
commitba3538dcc6ec5e379a7d5ee931a562d00ca7181f (patch)
treef0c9310da4e151847d409aeae7281ce783477421 /usr
parent59b04fa23535e6c654334aeaf2513bcdaecffcd8 (diff)
downloadpfsense-ba3538dcc6ec5e379a7d5ee931a562d00ca7181f.zip
pfsense-ba3538dcc6ec5e379a7d5ee931a562d00ca7181f.tar.gz
* fix: added missing LF
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php4
-rwxr-xr-xusr/local/www/interfaces_wan.php4
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
+?>
OpenPOWER on IntegriCloud