John Polstra wrote:
> In article <[EMAIL PROTECTED]>,
> Cyrille Lefevre  <[EMAIL PROTECTED]> wrote:
> > IMHO, it would be better to provide a /etc/dhclient-enter-hooks
> > while you are net installing the station, then remove it when
> > finished.
> > 
> > the dhclient-enter-hooks would be almost what you are doing :
> > 
> > #!/bin/sh
> > 
> > if [ x$reason = xPREINIT ]; then
> >     case `ifconfig $interface` in
> >     *flags=*[\<,]UP[\>,]*) exit 0 ;;
> >     esac
> > fi
> 
> I know the problem could be solved that way, and if I were using a
> Microsoft operating system that's what I'd have to do.  But this is
> FreeBSD, and we can fix things that are broken.
> 
> What is the reason you think it would be better to put the solution
> into dhclient-enter-hooks?

IMHO, for instance, because this hack is only needed at PXE level
not after, I am right ?

Cyrille.
-- 
Cyrille Lefevre                 mailto:[EMAIL PROTECTED]

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

Reply via email to