diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-21 17:51:07 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-21 17:51:11 -0500 |
commit | 540e2e26c1527d5cb8af2e5389207d9f202a8ff7 (patch) | |
tree | 8023fd198b3fe7099470d6ef7394fc71940734fe | |
parent | e4a38eb9b0ca6aca9901df2f5e84763fc0553fd2 (diff) | |
download | pfsense-packages-540e2e26c1527d5cb8af2e5389207d9f202a8ff7.tar.gz pfsense-packages-540e2e26c1527d5cb8af2e5389207d9f202a8ff7.tar.bz2 pfsense-packages-540e2e26c1527d5cb8af2e5389207d9f202a8ff7.zip |
If unbound is not running then redirect to settings page. unbound-control will block for which seems forever. Otherwise the webConfigurator will block.
-rw-r--r-- | config/unbound/unbound_status.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/unbound/unbound_status.php b/config/unbound/unbound_status.php index 706e534d..dccdf3b6 100644 --- a/config/unbound/unbound_status.php +++ b/config/unbound/unbound_status.php @@ -31,6 +31,11 @@ require("guiconfig.inc"); +if(!is_process_running("unbound")) { + Header("Location: /pkg_edit.php?xml=unbound.xml&id=0"); + exit; +} + $pgtitle = "Unbound: Status"; include("head.inc"); |