From owner-svn-src-all@FreeBSD.ORG Sun May 10 19:45:51 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA0E595D; Sun, 10 May 2015 19:45:51 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 949CE125C; Sun, 10 May 2015 19:45:51 +0000 (UTC) Received: from [192.168.1.2] (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B8FEDB93A; Sun, 10 May 2015 15:45:49 -0400 (EDT) References: <201505082336.t48NaWRS080408@svn.freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: <201505082336.t48NaWRS080408@svn.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" X-Mailer: iPad Mail (12F69) From: John Baldwin Subject: Re: svn commit: r282672 - head/etc/rc.d Date: Sun, 10 May 2015 15:45:48 -0400 To: Xin LI X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Sun, 10 May 2015 15:45:49 -0400 (EDT) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2015 19:45:51 -0000 > On May 8, 2015, at 19:36, Xin LI wrote: >=20 > Author: delphij > Date: Fri May 8 23:36:31 2015 > New Revision: 282672 > URL: https://svnweb.freebsd.org/changeset/base/282672 >=20 > Log: > Always convert uuid to lower case. >=20 > MFC after: 2 weeks >=20 > Modified: > head/etc/rc.d/hostid >=20 > Modified: head/etc/rc.d/hostid > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > --- 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() >=20 > valid_hostid() > { > - uuid=3D$1 > + uuid=3D$(echo $1 | tr '[:upper:]' '[:lower:]') tr is in /usr/bin so this breaks systems with a separate /usr. Perhaps you c= ould use dd with conv=3Dlcase instead? --=20 John Baldwin=