Code

--no-arp comandline option deactivates arp handler
[gosa.git] / gosa-si / gosa-si-server
index c631b814e6d18a98280503026082caaa8aea3280..b51bd4ed1e0fa0d1947ee75ae2b095dea0e65804 100755 (executable)
@@ -331,6 +331,12 @@ sub import_modules {
         if (not $file =~ /(\S*?).pm$/) {
             next;
         }
+
+        if( $no_arp > 0 ) {
+            if( $file =~ /ArpHandler.pm/ ) {
+                next;
+            }
+        } 
         eval { require $file; };
         if ($@) {
             daemon_log("ERROR: gosa-si-server could not load module $file", 1);