summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 480bf33)
raw | patch | inline | side by side (parent: 480bf33)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 4 Sep 2008 12:18:07 +0000 (12:18 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 4 Sep 2008 12:18:07 +0000 (12:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12363 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/ArpHandler.pm | patch | blob | history |
index f8ab3610761459a1bdc32e6ffbdab2c70c77e513..f44d72976fddba51a982ef0c72a96017d87a79e9 100644 (file)
my %cfg_defaults =
(
- "ArpHandler" => {
- "enabled" => [\$arp_enabled, "true"],
- "interface" => [\$arp_interface, "all"],
- },
- "server" => {
- "ldap-uri" => [\$ldap_uri, ""],
- "ldap-base" => [\$ldap_base, ""],
- "ldap-admin-dn" => [\$ldap_admin_dn, ""],
- "ldap-admin-password" => [\$ldap_admin_password, ""],
- },
+ "ArpHandler" => {
+ "enabled" => [\$arp_enabled, "true"],
+ "interface" => [\$arp_interface, "all"],
+ },
+ "server" => {
+ "ldap-uri" => [\$ldap_uri, ""],
+ "ldap-base" => [\$ldap_base, ""],
+ "ldap-admin-dn" => [\$ldap_admin_dn, ""],
+ "ldap-admin-password" => [\$ldap_admin_password, ""],
+ },
);
#=== FUNCTION ================================================================
# RETURNS: nothing
# DESCRIPTION: read cfg_file and set variables
#===============================================================================
-sub read_configfile {
+sub local_read_configfile {
my $cfg;
if( defined( $main::cfg_file) && ( (-s $main::cfg_file) > 0 )) {
if( -r $main::cfg_file ) {
undef,
);
- &read_configfile();
+ &local_read_configfile();
# Don't start if some of the modules are missing
if(($arp_enabled eq 'true') && $start_service) {
if($lookup_vendor) {