Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 09:05:15 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        John Polstra <jdp@polstra.com>
Cc:        net@freebsd.org
Subject:   Re: PXE boot vs. DHCP
Message-ID:  <200110240705.f9O75Fo49531@gits.dyndns.org>
In-Reply-To: <200110232019.f9NKJnJ04011@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote:
> In article <200110232013.f9NKDmU27220@gits.dyndns.org>,
> Cyrille Lefevre  <clefevre@citeweb.net> 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:clefevre@citeweb.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110240705.f9O75Fo49531>