From owner-freebsd-bugs@FreeBSD.ORG Sat May 22 10:50:01 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 988411065670 for ; Sat, 22 May 2010 10:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB258FC19 for ; Sat, 22 May 2010 10:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4MAo1MO061424 for ; Sat, 22 May 2010 10:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4MAo1jf061423; Sat, 22 May 2010 10:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 22 May 2010 10:50:01 GMT Resent-Message-Id: <201005221050.o4MAo1jf061423@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, chris petrik Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71F7E1065674 for ; Sat, 22 May 2010 10:45:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 613E48FC1A for ; Sat, 22 May 2010 10:45:06 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4MAj5Ki052633 for ; Sat, 22 May 2010 10:45:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4MAj55W052631; Sat, 22 May 2010 10:45:05 GMT (envelope-from nobody) Message-Id: <201005221045.o4MAj55W052631@www.freebsd.org> Date: Sat, 22 May 2010 10:45:05 GMT From: chris petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/146824: [PATCH] fix issue regarding rc.d/pf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 10:50:01 -0000 >Number: 146824 >Category: conf >Synopsis: [PATCH] fix issue regarding rc.d/pf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 22 10:50:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: chris petrik >Release: freeBSD 8.0-Pre >Organization: officialunix >Environment: >Description: When loading pf it shows it as: Enabling pfpf enabled it should be shown as: Enabling pf pf enable THis small and simple patch just ads a space for start() and disable() >How-To-Repeat: >Fix: Patch attached with submission follows: Index: pf =================================================================== RCS file: /usr/local/freebsdcvs/src/etc/rc.d/pf,v retrieving revision 1.20 diff -u -r1.20 pf --- pf 10 Oct 2009 22:17:03 -0000 1.20 +++ pf 22 May 2010 10:39:35 -0000 @@ -25,7 +25,7 @@ pf_start() { - check_startmsgs && echo -n 'Enabling pf' + check_startmsgs && echo -n 'Enabling pf ' $pf_program -F all > /dev/null 2>&1 $pf_program -f "$pf_rules" $pf_flags if ! $pf_program -s info | grep -q "Enabled" ; then @@ -37,7 +37,7 @@ pf_stop() { if $pf_program -s info | grep -q "Enabled" ; then - echo -n 'Disabling pf' + echo -n 'Disabling pf ' $pf_program -d echo '.' fi >Release-Note: >Audit-Trail: >Unformatted: