mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
projects/imx6: add serial console service
This commit is contained in:
parent
d51b456312
commit
16b1000801
@ -0,0 +1,22 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Debug Shell on /dev/ttymxc0
|
||||||
|
DefaultDependencies=no
|
||||||
|
ConditionKernelCommandLine=console=ttymxc0,115200
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/storage
|
||||||
|
Environment="ENV=/etc/profile"
|
||||||
|
ExecStart=/bin/sh
|
||||||
|
Restart=always
|
||||||
|
RestartSec=0
|
||||||
|
StandardInput=tty
|
||||||
|
TTYPath=/dev/ttymxc0
|
||||||
|
TTYReset=yes
|
||||||
|
TTYVHangup=yes
|
||||||
|
KillMode=process
|
||||||
|
IgnoreSIGPIPE=no
|
||||||
|
# bash ignores SIGTERM
|
||||||
|
KillSignal=SIGHUP
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sysinit.target
|
Loading…
x
Reference in New Issue
Block a user