diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 9d92dc9971e4d9fe7c5f66a4cce57c8c4eca45d4..093acd2a956fd00958955b7fec31a0087b6e0dfe 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
our $gosa_address;
our $no_arp;
our $forground;
-our $cfg_file;
our ($ldap_uri, $ldap_base, $ldap_admin_dn, $ldap_admin_password, $ldap_server_dn, $ldap_version, $ldap_retry_sec);
our ($mysql_username, $mysql_password, $mysql_database, $mysql_host);
our $known_modules;
our $global_kernel;
# where is the config stored by default and his name
-our $config = '/etc/gosa-si/server.conf';
+our $cfg_file = '/etc/gosa-si/server.conf';
# by default dumping of config is undefined
our $dump_config = undef;
Getopt::Long::Configure( 'bundling' );
GetOptions( 'v|verbose+' => \$verbose,
'h|help' => \&usage,
- 'c|config=s' => \$config,
+ 'c|config=s' => \$cfg_file,
'x|dump-config=i' => \$dump_config,
'f|foreground' => \$foreground,
'd=s' => \$debug_parts)
}
# read and set config parameters
-&read_configfile($config, %cfg_defaults);
+&read_configfile($cfg_file, %cfg_defaults);
# daemonize the program
&start_daemon($pid, $foreground);