summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2007-01-31 21:10:30 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2007-01-31 21:10:30 +0000
commit76724cf50870379be523047a6ba40e95d1fe7d8d (patch)
tree9aaffd5ff8e5c103bc234f6b287a61a7f5c9f5a3 /usr
parentba3538dcc6ec5e379a7d5ee931a562d00ca7181f (diff)
downloadpfsense-76724cf50870379be523047a6ba40e95d1fe7d8d.zip
pfsense-76724cf50870379be523047a6ba40e95d1fe7d8d.tar.gz
* fix: if theres a chance to add an error ... Place LF at the correct position
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 6ad97d7..5e8d3d2 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\n'<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q");
+define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q");
function getMPDCRONSettings() {
global $config;
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 6ad97d7..5e8d3d2 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\n'<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q");
+define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interfaces_wan_pppoe_restart(); ?>' | /usr/local/bin/php -q");
function getMPDCRONSettings() {
global $config;
OpenPOWER on IntegriCloud