defaultenv-2: fix base/init/ps1: don't reload /env/config
PATCH 1/1 defaultenv-2: fix base/init/ps1: don't reload /env/config
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 <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
--- defaultenv-2/base/init/ps1 | 2 -- 1 file changed, 2 deletions(-)
defaultenv-2/base/init/ps1 +0 -2
@@ -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
Signature · 7 lines
1.8.1.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Fabio Porcedda
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 <[email protected]>Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Applied, thanks
Sascha
Quoted 25 lines
--- defaultenv-2/base/init/ps1 | 2 -- 1 file changed, 2 deletions(-)defaultenv-2/base/init/ps1 +0
-2@@ -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 " elseSignature · 7 lines
1.8.1.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox