summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06a949e)
raw | patch | inline | side by side (parent: 06a949e)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Dec 2008 13:43:55 +0000 (13:43 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Dec 2008 13:43:55 +0000 (13:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13307 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/GosaSupportDaemon.pm | patch | blob | history |
index 9e7062472370305a6a7a1342036a2be3372e0493..d6aafa43f1f3a821bc7cde046a4ffb957a37159a 100644 (file)
while (defined (my $event = readdir ($DIR))) {
if( $event eq "." || $event eq ".." ) { next; }
+ # Check config file to exclude disabled event plugins (i.e. Opsi)
+ if ($event eq "opsi_com.pm" && $main::opsi_enabled ne "true") {
+ &main::daemon_log("WARNING: opsi-module is installed but not enabled in config file, please set under section '[OPSI]': 'enabled=true'", 3);
+ next;
+ }
+
# try to import event module
eval{ require $event; };
if( $@ ) {