mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
console: enable cursor for textmode and RPi serial consoles
This commit is contained in:
parent
a0fb273829
commit
0da3ceaee5
@ -5,6 +5,7 @@ After=multi-user.target
|
|||||||
[Service]
|
[Service]
|
||||||
Environment=TTY=1
|
Environment=TTY=1
|
||||||
WorkingDirectory=/storage
|
WorkingDirectory=/storage
|
||||||
|
ExecStartPre=/bin/sh -c 'echo -en "\033[?25h"'
|
||||||
ExecStart=/bin/sh -c 'clear; lsb_release; . /etc/profile; exec /bin/sh'
|
ExecStart=/bin/sh -c 'clear; lsb_release; . /etc/profile; exec /bin/sh'
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -6,6 +6,7 @@ ConditionKernelCommandLine=console
|
|||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/storage
|
WorkingDirectory=/storage
|
||||||
Environment="ENV=/etc/profile"
|
Environment="ENV=/etc/profile"
|
||||||
|
ExecStartPre=/bin/sh -c 'echo -en "\033[?25h"'
|
||||||
ExecStart=/bin/sh
|
ExecStart=/bin/sh
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
|
@ -6,6 +6,7 @@ ConditionKernelCommandLine=console
|
|||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/storage
|
WorkingDirectory=/storage
|
||||||
Environment="ENV=/etc/profile"
|
Environment="ENV=/etc/profile"
|
||||||
|
ExecStartPre=/bin/sh -c 'echo -en "\033[?25h"'
|
||||||
ExecStart=/bin/sh
|
ExecStart=/bin/sh
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user