aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-12 18:47:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-12 18:47:32 +0000
commit73d0459fbbd42b78c343b2ddeba66b5abbfd6318 (patch)
treef46724d1d3c80294822d7a105624202ef37bfceb
parente0311d68d893c7fea08877fbe5a0690e65cb7dd0 (diff)
downloadpfsense-packages-73d0459fbbd42b78c343b2ddeba66b5abbfd6318.tar.gz
pfsense-packages-73d0459fbbd42b78c343b2ddeba66b5abbfd6318.tar.bz2
pfsense-packages-73d0459fbbd42b78c343b2ddeba66b5abbfd6318.zip
Show nodes syncing on carp status page.
-rw-r--r--packages/carp_status.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php
index 1bdf0b29..09d09b9d 100644
--- a/packages/carp_status.php
+++ b/packages/carp_status.php
@@ -95,7 +95,14 @@ if($config['installedpackages']['carp']['config'] <> "")
?>
<tr><td>
-<center>Nodes syncing: <?php `/sbin/pfctl -vvss |/usr/bin/grep creator |/usr/bin/nawk '{print $4;}' |/usr/bin/sort -u`; ?></center>
+<center>
+<?php
+ echo "<br>Nodes syncing:<br>";
+ echo "<pre>";
+ system("/sbin/pfctl -vvss | /usr/bin/grep creator | /usr/bin/cut -d\" \" -f7 | /usr/bin/sort -u");
+ echo "</pre>";
+?>
+</center>
</td></tr>
</table>
</td></tr>