From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 15:50:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C449316A41C for ; Thu, 23 Jun 2005 15:50:16 +0000 (GMT) (envelope-from lreid@cs.okstate.edu) Received: from csa.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3AFD43D55 for ; Thu, 23 Jun 2005 15:50:16 +0000 (GMT) (envelope-from lreid@cs.okstate.edu) Received: by csa.cs.okstate.edu (Postfix, from userid 601) id CC6F0A0633; Thu, 23 Jun 2005 10:50:15 -0500 (CDT) To: freebsd-questions@freebsd.org Received: from 164.58.79.196 (auth. user lreid@a.cs.okstate.edu) by cs.okstate.edu with HTTP; Thu, 23 Jun 2005 09:50:15 -0600 X-IlohaMail-Blah: lreid@a.cs.okstate.edu X-IlohaMail-Method: mail() [mem] X-IlohaMail-Dummy: moo X-Mailer: IlohaMail/0.8.12 (On: cs.okstate.edu) From: "Reid Linnemann" Bounce-To: "Reid Linnemann" Errors-To: "Reid Linnemann" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20050623155015.CC6F0A0633@csa.cs.okstate.edu> Date: Thu, 23 Jun 2005 10:50:15 -0500 (CDT) Subject: netgraph startup 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, 23 Jun 2005 15:50:16 -0000 I'm using netgraph to bridge a few interfaces on a -CURRENT system. I've used the example bridge script /usr/share/examples/netgraph/ether.bridge, and it works perfectly after setting the interface vars. However, there are no rc.d hooks (that I am aware of) that will kick off netgraph scripts on system boot, forcing me to manually run the netgraph script at each reboot. I'm sure I could hack the script to give it rcorder keywords and handlers for rcng arguments, but that seems to be an overworked solution. I'm curious, how have other netgraph users have solved this problem?