From owner-freebsd-rc@FreeBSD.ORG Mon Jul 1 18:44:39 2013 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D6E7C51D for ; Mon, 1 Jul 2013 18:44:39 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-yh0-f46.google.com (mail-yh0-f46.google.com [209.85.213.46]) by mx1.freebsd.org (Postfix) with ESMTP id 9D1E71B22 for ; Mon, 1 Jul 2013 18:44:39 +0000 (UTC) Received: by mail-yh0-f46.google.com with SMTP id i57so2658546yha.33 for ; Mon, 01 Jul 2013 11:44:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=7n7qHZH6IU5JAK8cwxIugnPMZTjk7+xIoZqMpSs/NWY=; b=C7MnA5PxgH/KYjo548oed+EveKDTmzpn7KuEJYCui36n2qOyFR7eLKBFgvHmRi54NW 20nGD+OsWCIRh9EGQaxLcEBOlx+CrsP+rc1/UeBy/arxyj+cdSLepUpbTHKiPdvx2ZaV R4dTekZKscjtXjf7oZi+sxp5h3bFPvJWCd2tkDzNoXt4HlFlzsrhehzVF3vM7UcDEcCW qXdrdGmZO62X88PD9yIJ3MPhjs58sSAkoWWpug7zh84XdA1WSCA0OzRQlyl+NfsCTUBi 6dttnezBlxh4oCwDgi/hOOjtijCIimCG3WnjHhaSMPjcKdUSMKwbkb93HoxRUPmLcM+A IdTw== X-Received: by 10.236.152.228 with SMTP id d64mr12440371yhk.88.1372704273550; Mon, 01 Jul 2013 11:44:33 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id 66sm19460065yhe.20.2013.07.01.11.44.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 11:44:32 -0700 (PDT) Sender: Warner Losh Subject: Re: Proposal: multi-instance and self-contained rc.d script Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Mon, 1 Jul 2013 12:44:29 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <6E2CC3DE-E77E-4ECB-AA14-B90BAD2DFB3E@bsdimp.com> References: <20130701.062953.1443190655468739608.hrs@allbsd.org> <20130630221032.GB43309@stack.nl> To: Eitan Adler X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnb0IAZAAGAO4vcNN6q4e57NVO6fJd2SGURoQFruMXnwnNUsoIuxrSpNyRk2k3REdcvGa8e Cc: freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 18:44:39 -0000 On Jul 1, 2013, at 12:27 PM, Eitan Adler wrote: > On Mon, Jul 1, 2013 at 3:25 PM, Warren Block = wrote: >> '/etc/rc.d/routed manpage' would return the generated mdoc code. >> '/etc/rc.d/routed help' could pipe that output to man. >=20 > We should discourage directly running rc.d scripts and should instead > encourage people to use the service(1) interface. >=20 > +1 for both ideas though: they both sound like a very good direction = to go in. I just need a tcsh magic command to make command completion work with = service. :) Warner