defaultenv-2: move ps1 to base/init/ps1
so we can overwrite it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
12ef4d0df9
commit
f19a924f92
|
@ -15,12 +15,6 @@ global editcmd=sedit
|
|||
|
||||
/env/config
|
||||
|
||||
if [ ${global.allow_color} = "true" ]; then
|
||||
export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m "
|
||||
else
|
||||
export PS1="barebox@\h:\w "
|
||||
fi
|
||||
|
||||
if [ -e /env/menu ]; then
|
||||
echo -e -n "\nHit m for menu or any other key to stop autoboot: "
|
||||
else
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
/env/config
|
||||
|
||||
if [ ${global.allow_color} = "true" ]; then
|
||||
export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m "
|
||||
else
|
||||
export PS1="barebox@\h:\w "
|
||||
fi
|
Loading…
Reference in New Issue