summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-05-08 23:36:31 +0000
committerdelphij <delphij@FreeBSD.org>2015-05-08 23:36:31 +0000
commitdbdd433e4d8cd1d3f04bee731789d2f83e036db0 (patch)
treebaea72c1c8a14d3ddb648bc2b538f36c526a14ad /etc/rc.d
parent326a669c75f9c4f271131370c66e94216c4a190f (diff)
downloadFreeBSD-src-dbdd433e4d8cd1d3f04bee731789d2f83e036db0.zip
FreeBSD-src-dbdd433e4d8cd1d3f04bee731789d2f83e036db0.tar.gz
Always convert uuid to lower case.
MFC after: 2 weeks
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/hostid2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud