From 66a7cdd87dc6622fe9c524337a3ee90d86c1be04 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 27 Mar 2008 09:14:37 +0000 Subject: [PATCH] Made hostname lowercase for opts file git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/client/events/corefunctions.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-si/client/events/corefunctions.pm b/gosa-si/client/events/corefunctions.pm index e85729232..b1f6758e8 100644 --- a/gosa-si/client/events/corefunctions.pm +++ b/gosa-si/client/events/corefunctions.pm @@ -111,6 +111,7 @@ sub registered { my $opts_file_FH; my $hostname= $main::client_dnsname; $hostname =~ s/\..*$//; + $hostname =~ tr/A-Z/a-z/; open($opts_file_FH, ">$main::opts_file"); print $opts_file_FH "MAC=\"$main::client_mac_address\"\n"; print $opts_file_FH "IPADDRESS=\"$main::client_ip\"\n"; -- 2.30.2