From owner-freebsd-current@FreeBSD.ORG Thu Apr 24 08:28:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B26637B401 for ; Thu, 24 Apr 2003 08:28:03 -0700 (PDT) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54AE743F75 for ; Thu, 24 Apr 2003 08:28:02 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [210.64.98.49] (port=49156 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 198idl-000Pjm-00 for freebsd-current@freebsd.org; Thu, 24 Apr 2003 23:28:01 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h3OFRxsP016976 for ; Thu, 24 Apr 2003 23:28:00 +0800 (CST) (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h3OFRx77016975 for freebsd-current@freebsd.org; Thu, 24 Apr 2003 23:27:59 +0800 (CST) Date: Thu, 24 Apr 2003 23:27:59 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20030424152759.GA16964@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: [patch] /etc/rc.d/ipnat X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 15:28:03 -0000 After patching this ipnat rules will get loaded. JY --- /usr/src/etc/rc.d/ipnat Thu Apr 24 17:19:06 2003 +++ ipnat Thu Apr 24 23:24:34 2003 @@ -59,7 +59,7 @@ return 0 fi echo -n "Installing NAT rules ... " - /usr/sbin/ipnat -CF -f ${ipnat_rules} ${ipnat_flags} + ${ipnat_program} -CF -f ${ipnat_rules} ${ipnat_flags} } run_rc_command "$1" -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming