From owner-svn-src-head@FreeBSD.ORG Fri May 8 23:36:32 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 714E5E07; Fri, 8 May 2015 23:36:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5FA761170; Fri, 8 May 2015 23:36:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t48NaW8k080409; Fri, 8 May 2015 23:36:32 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t48NaWRS080408; Fri, 8 May 2015 23:36:32 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201505082336.t48NaWRS080408@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Fri, 8 May 2015 23:36:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282672 - head/etc/rc.d X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 23:36:32 -0000 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