summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e77f0cc)
raw | patch | inline | side by side (parent: e77f0cc)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 31 Jan 2008 08:47:59 +0000 (08:47 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 31 Jan 2008 08:47:59 +0000 (08:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8689 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index fe07d32f42669cbd8ac6b09a7d003e2cde713f3f..9b4f2b31a13f1738f07d9da23ee7b9a70739cb7a 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
return;
}
-
+sub genereate_hw_digest {
+ my $hw_data;
+ foreach my $line (split /\n/, `cat /proc/bus/pci/devices`) {
+ $hw_data.= sprintf "%s", $line =~ /[^\s]+\s([^\s]+)\s.*/;
+ }
+ return(md5_base64($hw_data));
+}
#==== MAIN = main ==============================================================