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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to