[PATCH 1/9] defaultenv-2: don't load nonexistent file

Vicente Bergas vicencb at gmail.com
Sat Mar 9 18:19:34 EST 2013


Signed-off-by: Vicente Bergas <vicencb at gmail.com>
---
 defaultenv-2/base/bin/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaultenv-2/base/bin/init b/defaultenv-2/base/bin/init
index e4a7fee..6a658d1 100644
--- a/defaultenv-2/base/bin/init
+++ b/defaultenv-2/base/bin/init
@@ -13,7 +13,7 @@ global linux.bootargs.dyn.ip
 global linux.bootargs.dyn.root
 global editcmd=sedit
 
-/env/config-board
+[ -e /env/config-board ] && /env/config-board
 /env/config
 
 if [ -e /env/menu ]; then
-- 
1.8.1.5




More information about the barebox mailing list