From 6aab5ae921958722cd577a1bdc5748969e1f7917 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 22 Jun 2015 16:15:26 -0500 Subject: [PATCH] common: Add the CMD_ENV_EXISTS config to Kconfig This command needs to exist in the Kconfig so that it can be moved from the config_cmd_default.h. Signed-off-by: Joe Hershberger --- common/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 0ccdf62c1e..cb14592e0e 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -191,6 +191,12 @@ config CMD_SAVEENV Save all environment variables into the compiled-in persistent storage. +config CMD_ENV_EXISTS + bool "env exists" + help + Check if a variable is defined in the environment for use in + shell scripting. + endmenu menu "Memory commands" -- 2.30.2