From dbdd433e4d8cd1d3f04bee731789d2f83e036db0 Mon Sep 17 00:00:00 2001 From: delphij Date: Fri, 8 May 2015 23:36:31 +0000 Subject: Always convert uuid to lower case. MFC after: 2 weeks --- etc/rc.d/hostid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.d') diff --git a/etc/rc.d/hostid b/etc/rc.d/hostid index 281b241..a26cbc0 100755 --- a/etc/rc.d/hostid +++ b/etc/rc.d/hostid @@ -58,7 +58,7 @@ hostid_set() valid_hostid() { - uuid=$1 + uuid=$(echo $1 | tr '[:upper:]' '[:lower:]') x="[0-9a-f]" y=$x$x$x$x -- cgit v1.1