Date: Tue, 23 Oct 2001 13:19:49 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: net@freebsd.org Cc: clefevre@citeweb.net Subject: Re: PXE boot vs. DHCP Message-ID: <200110232019.f9NKJnJ04011@vashon.polstra.com> In-Reply-To: <200110232013.f9NKDmU27220@gits.dyndns.org> References: <200110232013.f9NKDmU27220@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa 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?200110232019.f9NKJnJ04011>