From 2fd92cb1b4986909aff79ee88e48d1bb513e9062 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Jul 2005 11:26:17 +0000 Subject: r8648: automatically redirect to provisioning if not yet provisioned when the home page in swat is accessed (This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338) --- swat/index.esp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'swat') diff --git a/swat/index.esp b/swat/index.esp index e1ec624308..2e43d3f9cf 100644 --- a/swat/index.esp +++ b/swat/index.esp @@ -1,6 +1,12 @@ <% page_header("columns", "Server Status", ""); libinclude("base.js"); libinclude("management.js"); + libinclude("provision.js"); + + if (install_ok() == false) { + redirect("/install/provision.esp"); + } + %>

Server Status

-- cgit