Files
rk35xx-android14/device/rockchip/common/asl/init.linux.rc
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

25 lines
697 B
Plaintext

on post-fs-data
mkdir /mnt/linux 0666 system system
mount ext4 /dev/block/by-name/linux /mnt/linux
restorecon_recursive /mnt/linux
mkdir /mnt/linux/proc root 0755
mkdir /mnt/linux/sys root 0755
mkdir /mnt/linux/dev root 0755
mount proc proc /mnt/linux/proc
mount sysfs sysfs /mnt/linux/sys
mount devfs /dev /mnt/linux/dev bind
mount devpts devpts /mnt/linux/dev/pts
mount tmpfs tmpfs /mnt/linux/dev/shm
mount binder binder /mnt/linux/dev/binderfs
service sshd /system/bin/asl -s -p /run/sshd.pid /etc/init.d/ssh start
seclabel u:r:su:s0
class main
user root
group root
disabled
on property:sys.boot_completed=1
start sshd