wetek_play: add debug shell on serial console

This commit is contained in:
Stefan Saraev 2015-01-15 12:16:57 +02:00
parent fcec006944
commit 4a83e29093

View File

@ -0,0 +1,20 @@
[Unit]
Description=Debug Shell on /dev/ttyS0
DefaultDependencies=no
[Service]
WorkingDirectory=/storage
ExecStart=/bin/sh -c '. /etc/profile; exec /bin/sh'
Restart=always
RestartSec=0
StandardInput=tty
TTYPath=/dev/ttyS0
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
# bash ignores SIGTERM
KillSignal=SIGHUP
[Install]
WantedBy=sysinit.target