From owner-freebsd-rc@FreeBSD.ORG Sun Oct 7 16:13:33 2007 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144FE16A41B for ; Sun, 7 Oct 2007 16:13:33 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9981113C467 for ; Sun, 7 Oct 2007 16:13:32 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so771297nfb for ; Sun, 07 Oct 2007 09:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hEXdAydYPpB6Kq0+9hF9EIIOqWYaW+5FIgPoQsy6MDI=; b=JfZeL6J3JL5l8ZWdfpBhj9qickbKpOyTQcHiwxolJvKyi1WNEbECEijrnu49WeK57BaYMRMftmIZaw0FwKs+c5EmF6Mz+tyL2qEf8FYHr8KUag9Vfk9ZX++LKXqTqdzCzl5zJNXsvvH4Dt0NfeCZJdnj3DNhDwNpLgvrMCcOS2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=slLTnTQHqWiihpNrh2zLRMTc7IIhqSAsfHvJYnJCSO/1XaKg+NA7PidE7x3wcBFRd+bRQOz43ahImx8ilMmFGfmKM8m1AUtaVnh0fiOU6ZTuOuVKW/oObE2+GTKeiwVP1xZCyYAI7u+R+QOos2geGOQAbQa207sEqavO8Dx6Wkk= Received: by 10.86.90.2 with SMTP id n2mr4327071fgb.1191773610817; Sun, 07 Oct 2007 09:13:30 -0700 (PDT) Received: by 10.86.25.9 with HTTP; Sun, 7 Oct 2007 09:13:03 -0700 (PDT) Message-ID: Date: Sun, 7 Oct 2007 09:13:03 -0700 From: "Maksim Yevmenkin" To: "Mike Makonnen" In-Reply-To: <20071007110815.GA16458@terra.mike.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071006215757.GA10458@terra.mike.lan> <20071007110815.GA16458@terra.mike.lan> Cc: freebsd-rc@freebsd.org Subject: Re: multiple instances of ppp X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 07 Oct 2007 16:13:33 -0000 Mike, On 10/7/07, Mike Makonnen wrote: > On Sat, Oct 06, 2007 at 03:49:57PM -0700, Maksim Yevmenkin wrote: > > > > thanks for your comments. what do you think about something like > > > > # PROVIDE: ppp > > # REQUIRE: netif isdnd > > # KEYWORD: nojail > > > > . /etc/rc.subr > > > > name="ppp" > > rcvar=`set_rcvar` > > command="/usr/sbin/${name}" > > start_cmd="ppp_start" > > start_postcmd="ppp_poststart" > > > > ppp_start_profile() > > { > > local _ppp_profile, _ppp_mode, _ppp_nat > > You should lose the commas. Local variable declarations are space-separated. > > Other than that, looks good. thanks! i have made a patch and submitted it to re@ for approval. thanks, max