From 543571d66b52a2cc4271ce41b94bf0c1d79f5463 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 3 May 2023 09:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96uengine-loading-binder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LoadingBinder/load.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LoadingBinder/load.sh b/LoadingBinder/load.sh index aa31f48..8a33e72 100644 --- a/LoadingBinder/load.sh +++ b/LoadingBinder/load.sh @@ -3,6 +3,10 @@ if [[ `whoami` != root ]]; then echo 这不是 root 用户,结束 exit 1 fi +if [ -d /dev/binderfs ]; then + echo 已启动 binder,end + exit +fi modprobe binder_linux mkdir /dev/binderfs mount -t binder binder /dev/binderfs