autologin

You can put your script in init.d.
Then, in either rc3.d or rc5.d or both, create a soft link point to your script in init.d.
For instance, in rc3.d, you will see the names of the soft links like this one “Sxxname“.
The two numbers follow ‘S’ imply the order of execution. The soft link with the smallest number will be executed first.
So, S99rmnologin will be executed last.

.

http://gallinazo.flightgear.org/2012/10/

http://unix.stackexchange.com/questions/42359/how-can-i-autologin-to-desktop-with-systemd

http://stackoverflow.com/questions/10282981/automatic-login-on-angstrom-linux

.

For those of you who don’t have /etc/inittab the following worked for me.
In  link file :   /etc/systemd/system/getty.target.wants/serial-getty@ttyO2.service

is a link file to /lib/systemd/system/serial-getty@.service  read-only file

change the line
ExecStart=-/sbin/getty 115200 %I
to
ExecStart=-/sbin/getty -a USERNAME 115200 %I

 

in Angstrom distro, default Username is “root” :

ExecStart=-/sbin/getty -a root 115200 %I

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Leave a comment