OK3568 4.19.206 Buildroot Serial Port Automatic Login Cancellation

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Revision History

Date

Version

Revision History

04/08/2022

V1.0

Initial Version

Serial Port Automatic Login Cancellation

Modify the/etc/inittab file to add the following command:

Startup system.

::sysinit:/bin/mount -t proc proc /proc

::sysinit:/bin/mount -o remount,rw /

::sysinit:/bin/mkdir -p /dev/pts

::sysinit:/bin/mkdir -p /dev/shm

::sysinit:/bin/mount -a 2>/dev/null

::sysinit:/bin/hostname -F /etc/hostname

Now run any rc scripts.

::respawn:-/bin/login

#::respawn:-/bin/sh

::sysinit:/etc/init.d/rcS

Comment out: respawn:-/bin/sh and add: respawn:-/bin/login.