From owner-freebsd-questions@FreeBSD.ORG Thu Jan 3 07:57:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06AAF16A41B for ; Thu, 3 Jan 2008 07:57:51 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id CC74B13C47E for ; Thu, 3 Jan 2008 07:57:50 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so6044351rvb.43 for ; Wed, 02 Jan 2008 23:57:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=Op0GBE66L6r7itopuTlOV/uC40iki8Bntlsyh3alhhQ=; b=WXDfOOipQyEsQZKEoNw3DGESTowSolQ+a67nbEDHcg4a8n2vwNwzac5PfjpsjVypACZQFaBLwg9Mq93csNReJTrJOgEMbYn+I/oPGJZbzjcR7D/cL+dq8QASwliSt80hkZoBfGu5fo+LawFk3ZdmRXY7zFM7tWEaD0MBQlDXfkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Qd+aCcI05pnmUsSDEsAJy/QGpfhhAkvnY/S94odtCfbNcMcvRcmHoSqDp9a2OV1hO6C9ohY8Q7C0Jky7nFqlebN7ZQtGZ9YtA/EijRYAMAMxYa9013Q6VAmRuKIplfpY1zMcMlUbl0Sg67hM9hYejaoSB4G17KIu/PKWIzO7H3s= Received: by 10.141.20.7 with SMTP id x7mr7855614rvi.207.1199347070528; Wed, 02 Jan 2008 23:57:50 -0800 (PST) Received: by 10.141.49.19 with HTTP; Wed, 2 Jan 2008 23:57:50 -0800 (PST) Message-ID: Date: Thu, 3 Jan 2008 01:57:50 -0600 From: "illoai@gmail.com" To: DAve In-Reply-To: <4779071A.2020506@pixelhammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <542F8326-4A77-42AA-9FFF-CB8C6AD8756A@goldmark.org> <20071230234432.3389a010.wmoran@potentialtech.com> <3B585815-EC68-400E-901D-A594402DD874@goldmark.org> <4779071A.2020506@pixelhammer.com> Cc: User questions Subject: Re: How to not start syslogd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 07:57:51 -0000 On 31/12/2007, DAve wrote: > Small hint shown to me many years ago when enabling things in rc.conf. > If I want to startup ipfilter for example (trimmed to avoid wrapping). > > bash-2.05b# cat /etc/defaults/rc.conf | grep ^ipfilter > > Returns the following, > ipfilter_enable="NO" # Set to YES to enable ipfilter > ipfilter_program="/sbin/ipf" # where the ipfilter program lives > ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, > ipfilter_flags="" # additional flags for ipfilter > > If it looks like what you want then write it into your running rc.conf, > > cat /etc/defaults/rc.conf | grep ^ipfilter >> /etc/rc.conf > cat not needed, as grep accepts filenames and < as in grep ^ipfilter /etc/defaults/rc.conf or the above with | $PAGER appended grep ^ipfilter /etc/defaults/rc.conf >> /etc/rc.conf grep ^allsc < /etc/defaults/rc.conf | less sorry, just trying to prevent cat abuse -- --