mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-04 11:40:49 +00:00
Fix config SELinux label
This commit is contained in:
parent
d072fca386
commit
db46b5eb1d
1 changed files with 1 additions and 0 deletions
|
@ -474,6 +474,7 @@ fi
|
||||||
|
|
||||||
echo "Add device administration features"
|
echo "Add device administration features"
|
||||||
$SUDO sed -i -e '/cts/a \ \ \ \ <feature name="android.software.device_admin" />' -e '/print/i \ \ \ \ <feature name="android.software.managed_users" />' "$MOUNT_DIR"/vendor/etc/permissions/windows.permissions.xml
|
$SUDO sed -i -e '/cts/a \ \ \ \ <feature name="android.software.device_admin" />' -e '/print/i \ \ \ \ <feature name="android.software.managed_users" />' "$MOUNT_DIR"/vendor/etc/permissions/windows.permissions.xml
|
||||||
|
$SUDO setfattr -n security.selinux -v "u:object_r:vendor_configs_file:s0" "$MOUNT_DIR"/vendor/etc/permissions/windows.permissions.xml || abort
|
||||||
echo -e "done\n"
|
echo -e "done\n"
|
||||||
|
|
||||||
if [ "$ROOT_SOL" = 'magisk' ] || [ "$ROOT_SOL" = '' ]; then
|
if [ "$ROOT_SOL" = 'magisk' ] || [ "$ROOT_SOL" = '' ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue