Subject: Re: rc.d script for adding static ARP entries
To: Nino Dehne <ndehne@gmail.com>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 06/28/2005 13:46:51
On Tue, Jun 28, 2005 at 12:54:25PM +0200, Nino Dehne wrote:
> Geert Hendrickx wrote:
> ># BEFORE:  NETWORKING
> 
> >command="/usr/sbin/arp"
> 
> Please note that by default, /usr gets mounted in 
> /etc/rc.d/mountcritremote which has a REQUIRE: NETWORKING clause.
> 
> The arp command might not be available at the time your script is called.

Hm.  I wanted to have this script called before NETWORKING, just like
ipfilter, for security reasons.  I didn't notice this problem since my
router has a CF card as wd0 and has /usr on the same filesystem as /.  

What do you think would be an appropriate time in the boot-sequence to call
this script?  And is there a way to "debug" rc.d scripts for conflicts like
this?  

Thanks for your input.  

GH

-- 
:wq