From: cajus Date: Thu, 27 Mar 2008 09:14:37 +0000 (+0000) Subject: Made hostname lowercase for opts file X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=66a7cdd87dc6622fe9c524337a3ee90d86c1be04;p=gosa.git Made hostname lowercase for opts file git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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";