security_asset/scripts/永久禁用selinux.bat
authName 0b81114c53 change build gn
Change-Id: I59be3c86ed1d593440de94d2e557a554729251d4

Match-id-73d35c28b050cb7aef6dac9f32725b391f43446a
2023-10-12 14:16:02 +08:00

9 lines
221 B
Batchfile

hdc shell mount -o rw,remount /
hdc shell "sed -i 's/enforcing/permissive/g' /system/etc/selinux/config"
hdc shell "cat /system/etc/selinux/config |grep SELINUX="
@echo "Reboot device..."
hdc shell reboot
pause