summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_ntpd.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-30 12:44:55 -0400
committerjim-p <jimp@pfsense.org>2012-05-30 12:44:55 -0400
commitcf180ccc2a6f91e37b3738bb4a1b14bebbf9ef63 (patch)
tree19ff89c4c811c61847790cc1eb519d2a4d865818 /usr/local/www/status_ntpd.php
parent0551a524d4486a5fdc934c371dcb073337d4b7f1 (diff)
downloadpfsense-cf180ccc2a6f91e37b3738bb4a1b14bebbf9ef63.zip
pfsense-cf180ccc2a6f91e37b3738bb4a1b14bebbf9ef63.tar.gz
Switch to ntpd from ports, add Services > NTP to select interfaces for binding. Respect old ntp settings in the process.
Diffstat (limited to 'usr/local/www/status_ntpd.php')
-rw-r--r--usr/local/www/status_ntpd.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/status_ntpd.php b/usr/local/www/status_ntpd.php
index 54b20b9..c87d861 100644
--- a/usr/local/www/status_ntpd.php
+++ b/usr/local/www/status_ntpd.php
@@ -29,8 +29,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
- pfSense_BUILDER_BINARIES: /usr/sbin/ntpd /usr/bin/ntpq
- pfSense_MODULE: routing
+ pfSense_BUILDER_BINARIES: /usr/local/bin/ntpd /usr/local/bin/ntpq
+ pfSense_MODULE: ntpd
*/
##|+PRIV
@@ -42,7 +42,7 @@
require_once("guiconfig.inc");
-exec("/usr/bin/ntpq -pn | /usr/bin/tail +3", $ntpq_output);
+exec("/usr/local/bin/ntpq -pn | /usr/bin/tail +3", $ntpq_output);
$ntpq_servers = array();
foreach ($ntpq_output as $line) {
$server = array();
@@ -99,7 +99,7 @@ include("head.inc");
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td><div id="mainarea">
<table class="tabcont sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr><td>Status of the system's Network Time Protocol servers and clock.</td></tr>
+ <tr><td class="listtopic">Network Time Protocol Status</td></tr>
</table>
<table class="tabcont sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
<thead>
OpenPOWER on IntegriCloud