On Mon, Dec 09, 2002 at 06:17:27PM -0800, Mike Makonnen wrote:
> Does mpd install a startup script in /usr/local/etc/rc.d ? Does it get started
> in the background? If it's script is in /usr/local/etc/rc.d then it gets
> run by the /etc/rc.d/local script which runs after /etc/rc.d/ipnat. In this
> case you can simply re-apply the rules after the negotiation is completed:
> /etc/rc.d/ipnat reload
> 
> Cheers.
> -- 
> Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
I finally got over this one. The problem is that mpd needs a very long time
for PPPoE negotiation, thus if we run ipnat reload before it's settled, that
will be totally useless. So I moved the mpd startup script to
PREFIX/etc/rc.d/000.mpd.sh and the ipnat reload in zzz.ipnat_reload.sh and
VIOLA!

Putting them in the same script does not work, maybe this could be improved?

JY
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to