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