From 540e2e26c1527d5cb8af2e5389207d9f202a8ff7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 21 Nov 2010 17:51:07 -0500 Subject: If unbound is not running then redirect to settings page. unbound-control will block for which seems forever. Otherwise the webConfigurator will block. --- config/unbound/unbound_status.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/unbound/unbound_status.php') 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"); -- cgit v1.2.3