Added support to automaticly load all modules on init

This commit is contained in:
Lord Hepipud 2019-07-23 09:16:54 +02:00
parent 8f3183941f
commit fb6267b051

View file

@ -334,9 +334,8 @@ function Get-Icinga-Object()
return $Icinga2;
}
# Automaticly load the Help library including Plugins
Import-IcingaLib help\help;
Import-IcingaLib plugins;
# Automaticly load all library modules
Import-IcingaLib '\';
# Initialise base configuration for our module
$Icinga2 = & (Join-Path -Path $PSScriptRoot -ChildPath '\core\init.ps1') `