Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2012 10:06:44 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Ed Maste <emaste@freebsd.org>
Subject:   Re: [patch] nextboot(8) arbitrary kernel environment
Message-ID:  <201201311006.44546.jhb@freebsd.org>
In-Reply-To: <20120130195721.GA14612@sandvine.com>
References:  <20120130195721.GA14612@sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, January 30, 2012 2:57:22 pm Ed Maste wrote:
> I have a patch to allow nextboot(8) to set arbitrary kernel environment
> variables (not just the kernel dir and kernel_options).  The usage becomes:
> 
> Usage: nextboot [-e variable=value] [-f] [-k kernel] [-o options]
>        nextboot -D
> 
> and the new option is documented as:
> 
>      -e variable=value
>                  This option adds the provided variable and value to the ker-
>                  nel environment.  The value is quoted when written to the
>                  nextboot configuration.
> 
> The patch also makes -k an option (no longer mandatory).  The patch is at
> http://people.freebsd.org/~emaste/nextboot.diff .  I'll commit it in a few
> days if no concerns are raised by review or my testing.

Nice!  I like both of these features.

-- 
John Baldwin



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