From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 22 13:06:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13CF41065670; Fri, 22 Jun 2012 13:06:31 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from homiemail-a95.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by mx1.freebsd.org (Postfix) with ESMTP id DC6FB8FC08; Fri, 22 Jun 2012 13:06:30 +0000 (UTC) Received: from homiemail-a95.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a95.g.dreamhost.com (Postfix) with ESMTP id B40AE1E00B; Fri, 22 Jun 2012 06:06:29 -0700 (PDT) Received: from lab (ip72-219-240-45.dc.dc.cox.net [72.219.240.45]) (Authenticated sender: trhodes@fbsdsecure.org) by homiemail-a95.g.dreamhost.com (Postfix) with ESMTPA id 0E8CF1E00D; Fri, 22 Jun 2012 06:06:28 -0700 (PDT) Date: Fri, 22 Jun 2012 09:06:28 -0400 From: Tom Rhodes To: Wojciech Puchar Message-Id: <20120622090628.3c4bb449.trhodes@FreeBSD.org> In-Reply-To: References: <4FDF6177.5050608@unsane.co.uk> <20120621171006.Horde.Rzi7VU-oyn9P4zlOtE-CvdA@horde.syscare.sk> <20120621131217.5763ffc4.trhodes@FreeBSD.org> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: trhodes@freebsd.org, danger@rulez.sk, utisoft@gmail.com, freebsd-hackers@freebsd.org Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2012 13:06:31 -0000 On Fri, 22 Jun 2012 09:02:44 +0200 (CEST) Wojciech Puchar wrote: > >> why adding solaris style command to add a line in text file. just edit a > > text file. > >> > > > > Scripting? > > > > echo newserviceline >>file > > grep -v servicetoberemoved file >file.new;mv file.new file > Why have people edit yet another file to do process monitoring, and have them kill hup a service just to have it work? Not very optimal I thought. -- Tom Rhodes