Project

General

Profile

« Previous | Next » 

Revision fdfa8f43

Added by Jim Pingle over 11 years ago

ports ntp moved to sbin, follow

View differences:

usr/local/www/status_ntpd.php
29 29
	POSSIBILITY OF SUCH DAMAGE.
30 30
*/
31 31
/*
32
	pfSense_BUILDER_BINARIES:	/usr/local/bin/ntpd	/usr/local/bin/ntpq
32
	pfSense_BUILDER_BINARIES:	/usr/local/sbin/ntpd	/usr/local/sbin/ntpq
33 33
	pfSense_MODULE:	ntpd
34 34
*/
35 35

  
......
42 42

  
43 43
require_once("guiconfig.inc");
44 44

  
45
exec("/usr/local/bin/ntpq -pn | /usr/bin/tail +3", $ntpq_output);
45
exec("/usr/local/sbin/ntpq -pn | /usr/bin/tail +3", $ntpq_output);
46 46

  
47 47
$ntpq_servers = array();
48 48
foreach ($ntpq_output as $line) {
......
92 92
	$ntpq_servers[] = $server;
93 93
}
94 94

  
95
exec("/usr/local/bin/ntpq -c clockvar", $ntpq_clockvar_output);
95
exec("/usr/local/sbin/ntpq -c clockvar", $ntpq_clockvar_output);
96 96
foreach ($ntpq_clockvar_output as $line) {
97 97
	if (substr($line, 0, 9) == "timecode=") {
98 98
		$tmp = explode('"', $line);

Also available in: Unified diff