*BSD News Article 51733


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!kiss.demon.co.uk
From: phil@zipmail.co.uk (Phil Taylor)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: network setup
Date: Wed, 27 Sep 1995 13:11:22 GMT
Organization: Lan Systems
Lines: 22
Message-ID: <812207495.24593@kiss.demon.co.uk>
References: <43q9qp$16h@skipper.netrail.net>
Reply-To: phil@zipmail.co.uk
NNTP-Posting-Host: kiss.demon.co.uk
X-NNTP-Posting-Host: kiss.demon.co.uk
X-Newsreader: Forte Free Agent 1.0.82

nathan@netrail.net (Nathan Stratton) wrote:


>In netstart it says "Set  up all the network interfaces, calling startup 
>scripts if needed" Well I do need start info that will not go in 
>sysconfig. How do I format the script what do I call the script?

if a script called /etc/start_if.<interface name> exists, it will be
called automatically, that is what the next line in /etc/netstart
after the 'call startup scripts comment line' does.

i.e. for ed0 the file needs to be called /etc/start_if.ed0. the
commands need to be placed in this file in the same format as if you
typed them in at your shell prompt  (a shell script !!!!!)

Cheers

Phil Taylor
phil@zipmail.co.uk