Skip to contentSkip to conversation

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

PATCH Applied Fabio Porcedda 2 participants 2 messages Feb 21, 2013

lore
Share & tools
lore
#0 lore raw

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.

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
index fcbf4b6..02d7b4b 100644
@@ -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
Applied
#1 lore raw
Quoted 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.

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
index fcbf4b6..02d7b4b 100644
@@ -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
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