From owner-freebsd-questions Fri Apr 17 00:14:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA22730 for freebsd-questions-outgoing; Fri, 17 Apr 1998 00:14:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22495 for ; Fri, 17 Apr 1998 07:13:22 GMT (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id KAA12838; Fri, 17 Apr 1998 10:13:04 +0300 (EEST) (envelope-from ru) Message-ID: <19980417101303.11896@ucb.crimea.ua> Date: Fri, 17 Apr 1998 10:13:03 +0300 From: Ruslan Ermilov To: "'FreeBSD Questions Mailing List'" Subject: Re: Can I add this to rc.conf? Mail-Followup-To: 'FreeBSD Questions Mailing List' References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Reggie Perry on Thu, Apr 16, 1998 at 07:34:22PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 16, 1998 at 07:34:22PM -0700, Reggie Perry wrote: > Hi there, > I have a bunch of route add commands that I would like to have run at > system startup. They look like this: > > route add -net x.x.x -interface y.y.y.y > > It is not clear if I should or even can put them in rc.conf or if I > should put them in rc.local. What is the convention? Take a look at /etc/rc.conf and /etc/rc.network ;-) Then define something like this: static_routes="... xxx ..." route_xxx="-net x.x.x -interface y.y.y.y" Regards, -- Ruslan Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247647 Simferopol, Crimea 2426679 ICQ Network, UIN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message