优化uengine-loading-binder

This commit is contained in:
gfdgd_xi 2023-05-03 09:00:06 +08:00
parent f2acfcc4be
commit 543571d66b
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ if [[ `whoami` != root ]]; then
echo 这不是 root 用户,结束 echo 这不是 root 用户,结束
exit 1 exit 1
fi fi
if [ -d /dev/binderfs ]; then
echo 已启动 binderend
exit
fi
modprobe binder_linux modprobe binder_linux
mkdir /dev/binderfs mkdir /dev/binderfs
mount -t binder binder /dev/binderfs mount -t binder binder /dev/binderfs