uengine-runner/LoadingBinder/load.sh

9 lines
177 B
Bash
Raw Normal View History

#!/bin/bash
if [[ `whoami` != root ]]; then
echo 这不是 root 用户,结束
exit 1
2023-05-02 17:21:13 +08:00
fi
modprobe binder_linux
mkdir /dev/binderfs
2023-05-02 17:21:13 +08:00
mount -t binder binder /dev/binderfs