Hi All,
I have not resolved the issue, so I will post the question again.
LSDK1709 is ported to LS1043A board and is in use.
Ubuntu 16.04.3 LTS is ported.
How can I do automatic login in environment using LSDK?
Thank you.
Best regards,
gyosun.
Based on this question on askubuntu.com:
https://askubuntu.com/questions/819117/autologin-at-startup-to-ubuntu-server-16-04-1-lts
And this blog post of the systemd author:
http://0pointer.de/blog/projects/serial-console.html
I came up with this:
$ mkdir -p /etc/systemd/system/serial-getty@ttyS1.service.d/
$ cat > /etc/systemd/system/serial-getty@ttyS1.service.d/override.conf <<-'EOF'
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin root --keep-baud 115200,38400,9600 %I $TERM
Type=idle
EOF
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------