Date: Fri, 17 Apr 1998 10:13:03 +0300 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: "'FreeBSD Questions Mailing List'" <freebsd-questions@FreeBSD.ORG> Subject: Re: Can I add this to rc.conf? Message-ID: <19980417101303.11896@ucb.crimea.ua> In-Reply-To: <c=US%a=_%p=zso%l=ZSOMAIL-980417023422Z-16526@zsomail3.zso.dec.com>; from Reggie Perry on Thu, Apr 16, 1998 at 07:34:22PM -0700 References: <c=US%a=_%p=zso%l=ZSOMAIL-980417023422Z-16526@zsomail3.zso.dec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980417101303.11896>