From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 12:31:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9285B16A4CE for ; Thu, 10 Mar 2005 12:31:26 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CB3C43D2D for ; Thu, 10 Mar 2005 12:31:26 +0000 (GMT) (envelope-from m.hauber@mchsi.com) Received: from wizard.valleygate.net (12-219-204-24.client.mchsi.com[12.219.204.24]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20050310123125m920039uibe>; Thu, 10 Mar 2005 12:31:25 +0000 From: Mike Hauber To: freebsd-questions@freebsd.org Date: Thu, 10 Mar 2005 07:35:14 -0500 User-Agent: KMail/1.7.2 References: <20050310114517.150A74BE6D@ws1-1.us4.outblaze.com> In-Reply-To: <20050310114517.150A74BE6D@ws1-1.us4.outblaze.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503100735.16004.m.hauber@mchsi.com> cc: Fafa Diliha Romanova Subject: Re: /usr/local/etc/rc.d scripts: echo on startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: m.hauber@mchsi.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 12:31:26 -0000 On Thursday 10 March 2005 06:45 am, Fafa Diliha Romanova wrote: > hello. > > i'm just wondering how to deal with the way the rc.d scripts > echo on startup. like, some of the rc.d scripts contain the > echo " daemon", while some echo "daemon", so on startup whereas > it should look like: > > daemon daemon deamon > > it may look like: > > daemondaemon daemon 1.2 Loaded successfully!daemon > > is there a uniform way to identify echos and make them display > properly? thanks! > > all the best, > fafa You could edit rc.d remove the spaces and replace them with "." so it would make it look like: daemon.daemon.daemon.daemon. You could also edit the echo strings so that the spaces are at the beginning/end for all of them... Either way, the output would essentially be the same: daemon deamon daemon daemon deamon daemon man echo? Mike