From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-955141-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D91D9139694
	for <garchives@archives.gentoo.org>; Mon, 12 Jun 2017 15:45:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 32594E0ED5;
	Mon, 12 Jun 2017 15:45:18 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 08D12E0ED5
	for <gentoo-commits@lists.gentoo.org>; Mon, 12 Jun 2017 15:45:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1E3B1341799
	for <gentoo-commits@lists.gentoo.org>; Mon, 12 Jun 2017 15:45:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B62D44C92
	for <gentoo-commits@lists.gentoo.org>; Mon, 12 Jun 2017 15:45:15 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1497282235.1e5322e5c55ec744a2cdcc3342ef6547eab7c46f.williamh@OpenRC>
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
X-VCS-Repository: proj/openrc
X-VCS-Files: init.d/hostname.in
X-VCS-Directories: init.d/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 1e5322e5c55ec744a2cdcc3342ef6547eab7c46f
X-VCS-Branch: master
Date: Mon, 12 Jun 2017 15:45:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: dab850df-7f6a-47c0-bb97-eab880d30e4a
X-Archives-Hash: da949ca097d57a56df363d0fe5cb0b35

commit:     1e5322e5c55ec744a2cdcc3342ef6547eab7c46f
Author:     Nuno Silva <nuno.m.ribeiro.silva <AT> tecnico <DOT> ulisboa <DOT> pt>
AuthorDate: Sat Jun 10 02:05:09 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 15:43:55 2017 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1e5322e5

init.d/hostname: fix indentation

This is for #143.

 init.d/hostname.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/init.d/hostname.in b/init.d/hostname.in
index af01241b..c144a710 100644
--- a/init.d/hostname.in
+++ b/init.d/hostname.in
@@ -11,7 +11,8 @@
 
 description="Sets the hostname of the machine."
 
-depend() {
+depend()
+{
 	after clock
 	keyword -docker -lxc -prefix -systemd-nspawn
 }
@@ -20,8 +21,8 @@ start()
 {
 	local h source x
 	if [ -s @SYSCONFDIR@/hostname ] && [ -r @SYSCONFDIR@/hostname ]; then
-	read h x <@SYSCONFDIR@/hostname
-	source=" from @SYSCONFDIR@/hostname"
+		read h x <@SYSCONFDIR@/hostname
+		source="from @SYSCONFDIR@/hostname"
 	else
 		# HOSTNAME variable used to be defined in caps in conf.d/hostname.
 		# It is also a magic variable in bash.