[PATCH] defaultenv-2: fix base/init/ps1: don't reload /env/config

Fabio Porcedda fabio.porcedda at gmail.com
Thu Feb 21 04:33:04 EST 2013


Remove the load of /env/config because is already done by /bin/init,
so it doesn't overwrite any changes done by previous /init/* scripts that
are loaded by /bin/init.

Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 defaultenv-2/base/init/ps1 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/defaultenv-2/base/init/ps1 b/defaultenv-2/base/init/ps1
index fcbf4b6..02d7b4b 100644
--- a/defaultenv-2/base/init/ps1
+++ b/defaultenv-2/base/init/ps1
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-/env/config
-
 if [ ${global.allow_color} = "true" ]; then
         export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m "
 else
-- 
1.8.1.1




More information about the barebox mailing list