]> git.ipfire.org Git - people/stevee/network.git/commitdiff
network: Speedup function uuid.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Jun 2010 22:20:04 +0000 (00:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 17 Jun 2010 22:20:04 +0000 (00:20 +0200)
functions.util

index c0721900195e904f98190468930f79b9a1d2fb0b..86d852c0b9d421ca7cf9a4c40420d70d3734b5fa 100644 (file)
@@ -181,7 +181,7 @@ function mac_is_valid() {
 }
 
 function uuid() {
-       cat /proc/sys/kernel/random/uuid
+       echo $(</proc/sys/kernel/random/uuid)
 }
 
 function isset() {