r8648: automatically redirect to provisioning if not yet provisioned when the
[bbaumbach/samba-autobuild/.git] / swat / index.esp
index e1ec62430868cedab81d5fbb8ceaa8e7bfb72904..2e43d3f9cfcf52c5a2bf9ab28a31aa3af0c0641d 100644 (file)
@@ -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");
+  }
+
 %>
 
 <h1>Server Status</h1>