mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
bash: fix $PS1 in shell/debugshell
This commit is contained in:
parent
a6e57b5674
commit
3f7618ab9a
@ -24,5 +24,6 @@
|
|||||||
TTY="3"
|
TTY="3"
|
||||||
|
|
||||||
if [ "$DEBUG" = "yes" ]; then
|
if [ "$DEBUG" = "yes" ]; then
|
||||||
|
PS1="\007\]\[\e[1;32m\]\h\[\e[1;32m\]:\[\e[1;34m\]\w \[\e[0m\]\\$ "
|
||||||
openvt -w -c $TTY /bin/sh &
|
openvt -w -c $TTY /bin/sh &
|
||||||
fi
|
fi
|
||||||
|
@ -24,5 +24,6 @@
|
|||||||
TTY="1"
|
TTY="1"
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
PS1="\007\]\[\e[1;32m\]\h\[\e[1;32m\]:\[\e[1;34m\]\w \[\e[0m\]\\$ "
|
||||||
openvt -w -c $TTY /bin/sh
|
openvt -w -c $TTY /bin/sh
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user