修复UEngine在debian12无法正常开启的问题

This commit is contained in:
gfdgd_xi 2023-07-06 10:44:45 +08:00
parent 197f0a9dca
commit 717284ad14
1 changed files with 4 additions and 0 deletions

View File

@ -5,9 +5,13 @@ if [[ `whoami` != root ]]; then
fi
if [ -d /dev/binderfs ]; then
echo 已启动 binderend
systemctl start uengine-container.service
systemctl start uengine-session.service
exit
fi
modprobe binder_linux
modprobe ashmem_linux
mkdir /dev/binderfs
mount -t binder binder /dev/binderfs
systemctl start uengine-container.service
systemctl start uengine-session.service