aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound_status.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-14 23:08:26 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-14 23:08:34 -0500
commite1a43d989e093f4f8715aad7ad2dde1252fa122b (patch)
treecf3a38090d0297903b812e3059d585524acf4ce4 /config/unbound/unbound_status.php
parent35442d97f669c368590a9df4ed77b08222f78c49 (diff)
downloadpfsense-packages-e1a43d989e093f4f8715aad7ad2dde1252fa122b.tar.gz
pfsense-packages-e1a43d989e093f4f8715aad7ad2dde1252fa122b.tar.bz2
pfsense-packages-e1a43d989e093f4f8715aad7ad2dde1252fa122b.zip
Use complete path to unbound-control
Diffstat (limited to 'config/unbound/unbound_status.php')
-rw-r--r--config/unbound/unbound_status.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php
index ecab1073..1b9899d1 100644
--- a/config/unbound/unbound_status.php
+++ b/config/unbound/unbound_status.php
@@ -141,13 +141,13 @@ function execCmds() {
<td class="tabcont" width="100%">
<?php
$entries = trim(exec("/usr/local/sbin/unbound-control dump_cache | wc -l"));
- defCmdT("Unbound status", "unbound-control status", "6");
- defCmdT("Unbound stats", "unbound-control stats_noreset");
- defCmdT("Unbound stubs", "unbound-control list_stubs", "8");
- defCmdT("Unbound forwards", "unbound-control list_forwards");
- defCmdT("Unbound local zones", "unbound-control list_local_zones");
- defCmdT("Unbound local data", "unbound-control list_local_data");
- defCmdT("Unbound cache ($entries entries)", "unbound-control dump_cache", "60");
+ defCmdT("Unbound status", "/usr/local/sbin/unbound-control status", "6");
+ defCmdT("Unbound stats", "/usr/local/sbin/unbound-control stats_noreset");
+ defCmdT("Unbound stubs", "/usr/local/sbin/unbound-control list_stubs", "8");
+ defCmdT("Unbound forwards", "/usr/local/sbin/unbound-control list_forwards");
+ defCmdT("Unbound local zones", "/usr/local/sbin/unbound-control list_local_zones");
+ defCmdT("Unbound local data", "/usr/local/sbin/unbound-control list_local_data");
+ defCmdT("Unbound cache ($entries entries)", "/usr/local/sbin/unbound-control dump_cache", "60");
defCmdT("Unbound configuration", "/bin/cat /usr/local/etc/unbound/unbound.conf", "60");
listCmds();
execCmds();