ps1-extra
This commit is contained in:
parent
d5b08d87ef
commit
8f09b5171e
2 changed files with 11 additions and 0 deletions
|
|
@ -2,3 +2,9 @@ hostname = "imbus-mini"
|
||||||
|
|
||||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||||
|
|
||||||
|
SRC_URI += "file://ps1-extra.sh"
|
||||||
|
|
||||||
|
do_install:append() {
|
||||||
|
cat ${WORKDIR}/ps1-extra.sh >> ${D}${sysconfdir}/profile
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
5
recipes-core/base-files/files/ps1-extra.sh
Normal file
5
recipes-core/base-files/files/ps1-extra.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Custom PS1 for BusyBox ash
|
||||||
|
|
||||||
|
if [ "$TERM" != "dumb" ]; then
|
||||||
|
PS1="\033[1;32m\u@\h:\w\$ \033[0m"
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue