diff options
author | Daniel Hoffend <dh@dotlan.net> | 2014-02-27 17:07:32 +0100 |
---|---|---|
committer | Daniel Hoffend <dh@dotlan.net> | 2014-02-27 17:07:32 +0100 |
commit | 641a91856da66f45a68226141958f46d8460c4b7 (patch) | |
tree | 6b73fd071e8ab9f8c7ac36da8dc1a9999874e9ce /config/quagga_ospfd/status_ospfd.php | |
parent | 464a48605e7e8edfe0b2476ac66deb23e937dc3f (diff) | |
download | pfsense-packages-641a91856da66f45a68226141958f46d8460c4b7.tar.gz pfsense-packages-641a91856da66f45a68226141958f46d8460c4b7.tar.bz2 pfsense-packages-641a91856da66f45a68226141958f46d8460c4b7.zip |
add support for quagga ospfd raw config support
Diffstat (limited to 'config/quagga_ospfd/status_ospfd.php')
-rw-r--r-- | config/quagga_ospfd/status_ospfd.php | 4 |
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(); ?> |