Re: loader.conf conditional assignment

2001-10-14 Thread Mike Smith
> Mike Smith wrote: > > > Is there any chance off implementing syntax like > > > > > > kernel=${kernel:-/kernel} > > > > > > which is obviously sh-compilant? > > > > I don't much like either of these proposals. > > > > My principal objection is that they're trying to solve the wrong problem. >

Re: loader.conf conditional assignment

2001-10-14 Thread Cyrille Lefevre
Mike Smith wrote: > > Is there any chance off implementing syntax like > > > > kernel=${kernel:-/kernel} > > > > which is obviously sh-compilant? > > I don't much like either of these proposals. > > My principal objection is that they're trying to solve the wrong problem. > > The original pos

Re: loader.conf conditional assignment

2001-10-14 Thread Mike Smith
> Is there any chance off implementing syntax like > > kernel=${kernel:-/kernel} > > which is obviously sh-compilant? I don't much like either of these proposals. My principal objection is that they're trying to solve the wrong problem. The original poster is setting $kernel in the DHCP clien

Re: loader.conf conditional assignment

2001-10-14 Thread Daniel C. Sobral
Igor M Podlesny wrote: > > > > kernel?="/kernel" > > Is there any chance off implementing syntax like > > kernel=${kernel:-/kernel} > > which is obviously sh-compilant? Perhaps I was unclear. This is what I would prefer, but I don't have time to do it. -- Daniel C. Sobral

Re: loader.conf conditional assignment

2001-10-14 Thread Igor M Podlesny
On Sat, Oct 13, 2001 at 01:25:29PM -0300, Daniel C. Sobral wrote: > Vadim Vygonets wrote: > > > > We are working on integration of network-booted FreeBSD system to > > our envoronment. Naturally, different machines need different > > kernels, so we pass the kernel paramater in DHCP response. > >

Re: loader.conf conditional assignment

2001-10-13 Thread Daniel C. Sobral
Vadim Vygonets wrote: > > We are working on integration of network-booted FreeBSD system to > our envoronment. Naturally, different machines need different > kernels, so we pass the kernel paramater in DHCP response. > However, it gets overwritten in /boot/defaults/loader.conf. We > decided tha

loader.conf conditional assignment

2001-10-13 Thread Vadim Vygonets
We are working on integration of network-booted FreeBSD system to our envoronment. Naturally, different machines need different kernels, so we pass the kernel paramater in DHCP response. However, it gets overwritten in /boot/defaults/loader.conf. We decided that commenting out the assignment of