From owner-cvs-all@FreeBSD.ORG Sun Mar 30 07:52:20 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D8C037B401; Sun, 30 Mar 2003 07:52:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D20843F75; Sun, 30 Mar 2003 07:52:20 -0800 (PST) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2UFqJ0U031590; Sun, 30 Mar 2003 07:52:19 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2UFqIUD031589; Sun, 30 Mar 2003 07:52:18 -0800 (PST) Message-Id: <200303301552.h2UFqIUD031589@repoman.freebsd.org> From: Mike Makonnen Date: Sun, 30 Mar 2003 07:52:18 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/rc.d ipfw X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 15:52:22 -0000 mtm 2003/03/30 07:52:18 PST FreeBSD src repository Modified files: etc/rc.d ipfw Log: Make the 'restart' command work. Otherwise, it would successfully stop ipfw, but not enable it again. Aesthetic changes o Use positve logic (instead of negative) o create a 'stop' function, rather than putting the commands in the stop_cmd variable. Submitted by: des Approved by: markm (mentor) (implicit) Revision Changes Path 1.4 +15 -4 src/etc/rc.d/ipfw