mirror of https://github.com/Icinga/icinga2.git
parent
948c8f1342
commit
dc09f5f706
|
@ -619,7 +619,6 @@
|
|||
this.MaximizeBox = false;
|
||||
this.Name = "SetupWizard";
|
||||
this.Text = "Icinga 2 Setup Wizard";
|
||||
this.Shown += new System.EventHandler(this.AgentWizard_Shown);
|
||||
this.tabFinish.ResumeLayout(false);
|
||||
this.tabFinish.PerformLayout();
|
||||
this.tabConfigure.ResumeLayout(false);
|
||||
|
|
|
@ -276,25 +276,6 @@ namespace Icinga
|
|||
tbcPages.SelectedTab = tabFinish;
|
||||
}
|
||||
|
||||
private void AgentWizard_Shown(object sender, EventArgs e)
|
||||
{
|
||||
string installDir = Program.Icinga2InstallDir;
|
||||
|
||||
/* TODO: This is something the NSIS installer should do */
|
||||
Directory.CreateDirectory(installDir + "\\etc\\icinga2\\pki");
|
||||
Directory.CreateDirectory(installDir + "\\var\\cache\\icinga2");
|
||||
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\pki");
|
||||
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\agent\\inventory");
|
||||
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\api\\config");
|
||||
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\api\\log");
|
||||
Directory.CreateDirectory(installDir + "\\var\\lib\\icinga2\\api\\zones");
|
||||
Directory.CreateDirectory(installDir + "\\var\\log\\icinga2\\compat\\archive");
|
||||
Directory.CreateDirectory(installDir + "\\var\\log\\icinga2\\crash");
|
||||
Directory.CreateDirectory(installDir + "\\var\\run\\icinga2\\cmd");
|
||||
Directory.CreateDirectory(installDir + "\\var\\spool\\icinga2\\perfdata");
|
||||
Directory.CreateDirectory(installDir + "\\var\\spool\\icinga2\\tmp");
|
||||
}
|
||||
|
||||
private void btnBack_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tbcPages.SelectedTab == tabError) {
|
||||
|
|
Loading…
Reference in New Issue