aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp_status.php')
-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>