Code

Made hostname lowercase for opts file
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 09:14:37 +0000 (09:14 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 09:14:37 +0000 (09:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10014 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/client/events/corefunctions.pm

index e85729232a016fd53392128f7a133c0c2411f7e7..b1f6758e889b00fca424a3b8a80ff67063da0dcd 100644 (file)
@@ -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";