aboutsummaryrefslogtreecommitdiffstats
path: root/config/quagga_ospfd/status_ospfd.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-05-08 18:23:44 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-05-08 18:23:44 -0300
commitd9a0afd04141ff3798358ea90770b91e23d597c0 (patch)
tree2b1ba995638d79841ce4288d5e5670327a603c1c /config/quagga_ospfd/status_ospfd.php
parent89ae41977ee81bd970c4e4cc7e3849300533e689 (diff)
parent76a6a0ee241ee33c77c07999dd901c10ef466694 (diff)
downloadpfsense-packages-d9a0afd04141ff3798358ea90770b91e23d597c0.tar.gz
pfsense-packages-d9a0afd04141ff3798358ea90770b91e23d597c0.tar.bz2
pfsense-packages-d9a0afd04141ff3798358ea90770b91e23d597c0.zip
Merge pull request #609 from dhoffend/master
Diffstat (limited to 'config/quagga_ospfd/status_ospfd.php')
-rw-r--r--config/quagga_ospfd/status_ospfd.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/quagga_ospfd/status_ospfd.php b/config/quagga_ospfd/status_ospfd.php
index dc6c6aea..8ecf19d0 100644
--- a/config/quagga_ospfd/status_ospfd.php
+++ b/config/quagga_ospfd/status_ospfd.php
@@ -33,6 +33,7 @@ $pgtitle = "Quagga OSPF: Status";
include("head.inc");
$control_script = "/usr/local/bin/quaggactl";
+$pkg_homedir = "/var/etc/quagga";
/* List all of the commands as an index. */
function listCmds() {
@@ -90,6 +91,7 @@ function doCmdT($title, $command) {
$tab_array = array();
$tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=quagga_ospfd.xml&id=0");
$tab_array[] = array(gettext("Interface Settings"), false, "/pkg.php?xml=quagga_ospfd_interfaces.xml");
+ $tab_array[] = array(gettext("RAW Config"), false, "/pkg_edit.php?xml=quagga_ospfd_raw.xml&id=0");
$tab_array[] = array(gettext("Status"), true, "/status_ospfd.php");
display_top_tabs($tab_array);
?>
@@ -110,6 +112,8 @@ function doCmdT($title, $command) {
defCmdT("Quagga OSPF Interfaces", "{$control_script} ospf interfaces");
defCmdT("Quagga OSPF CPU Usage", "{$control_script} ospf cpu");
defCmdT("Quagga OSPF Memory", "{$control_script} ospf mem");
+ defCmdT("Quagga ospfd.conf", "/bin/cat {$pkg_homedir}/ospfd.conf");
+ defCmdT("Quagga zebra.conf", "/bin/cat {$pkg_homedir}/zebra.conf");
?>
<div id="cmdspace" style="width:100%">
<?php listCmds(); ?>