Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2015 23:36:32 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282672 - head/etc/rc.d
Message-ID:  <201505082336.t48NaWRS080408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Fri May  8 23:36:31 2015
New Revision: 282672
URL: https://svnweb.freebsd.org/changeset/base/282672

Log:
  Always convert uuid to lower case.
  
  MFC after:	2 weeks

Modified:
  head/etc/rc.d/hostid

Modified: head/etc/rc.d/hostid
==============================================================================
--- head/etc/rc.d/hostid	Fri May  8 23:29:42 2015	(r282671)
+++ head/etc/rc.d/hostid	Fri May  8 23:36:31 2015	(r282672)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505082336.t48NaWRS080408>