diff options
author | nagyrobi <robreg@zsurob.hu> | 2014-02-18 18:22:25 +0100 |
---|---|---|
committer | nagyrobi <robreg@zsurob.hu> | 2014-02-18 18:22:25 +0100 |
commit | fe5ad8afe07d1f654e12f7d2edbbc92c5e3473d0 (patch) | |
tree | 1e4076a1f80497c796665db43c39ac76a083c0ce /usr | |
parent | de3ba9958594eac590e2e39a92fb5eabf8ffa22e (diff) | |
download | pfsense-fe5ad8afe07d1f654e12f7d2edbbc92c5e3473d0.zip pfsense-fe5ad8afe07d1f654e12f7d2edbbc92c5e3473d0.tar.gz |
Update ntp_status.widget.php
fixed tail path
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/widgets/widgets/ntp_status.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/ntp_status.widget.php b/usr/local/www/widgets/widgets/ntp_status.widget.php index 504815c..51ca44f 100644 --- a/usr/local/www/widgets/widgets/ntp_status.widget.php +++ b/usr/local/www/widgets/widgets/ntp_status.widget.php @@ -41,7 +41,7 @@ require_once("/usr/local/www/widgets/include/ntp_status.inc"); if($_REQUEST['updateme']) { //this block displays only on ajax refresh - exec("/usr/local/sbin/ntpq -pn | /usr/sbin/tail +3", $ntpq_output); + exec("/usr/local/sbin/ntpq -pn | /usr/bin/tail +3", $ntpq_output); $ntpq_counter = 0; foreach ($ntpq_output as $line) { if (substr($line, 0, 1) == "*") { |