Code

Updated locales
[gosa.git] / gosa-si / client / events / load_reporter.pm
index b823237d9d0306e3306c72cd2638bf3a0a85349c..be9b6a29f7e6c39fa999c1715f81c3c4d8915274 100644 (file)
@@ -3,9 +3,10 @@ package load_reporter;
 
 use strict;
 use warnings;
-use Exporter;
 
-use GOSA::GosaSupportDaemon;
+use GOsaSI::GosaSupportDaemon;
+
+use Exporter;
 
 BEGIN {}
 END {}
@@ -25,12 +26,14 @@ our @EXPORT = @events;
 my $ts_load_file;
 my $waiting_for_ts_info;
 my %cfg_defaults = (
-               "client" => {
-               "ts-load-file" => [\$ts_load_file, "/var/run/gosa-si-client-ts-load.txt"],
-               "waiting-for-ts-info" => [\$waiting_for_ts_info, 5],
-               },
+                       "client" => {
+                       "ts-load-file" => [\$ts_load_file, "/var/run/gosa-si/gosa-si-client-ts-load.txt"],
+                       "waiting-for-ts-info" => [\$waiting_for_ts_info, 5],
+                       },
                );
-&GOSA::GosaSupportDaemon::read_configfile($main::cfg_file, %cfg_defaults);
+
+# to be removed ugly !! why not using main::_read_configfile
+&GOsaSI::GosaSupportDaemon::read_configfile($main::cfg_file, %cfg_defaults);
 
 
 ### FUNCTIONS #################################################################