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