[PATCH 1/2] commands: setenv: support setenv dev.var=VAL syntax

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 18 05:01:36 EDT 2020


On Tue, Sep 15, 2020 at 02:08:30PM +0200, Ahmad Fatoum wrote:
> In preparation for making setenv selectable under CONFIG_SHELL_HUSH,
> allow a `setenv dev.var=VAL syntax`:
>   - makes command use less surprising for hush users
>   - allows seamless integration with current device parameter complete
> 
> While at it, propagate setenv's return code to the calling shell.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  commands/setenv.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list