wifi - Give execute permission to data/vendor/wifi for pixelLogger

In hostapd, there have hostapd.android.rc and make /data/vendor/wifi
with permission 770 when the device boots up.

It will overwrite the permission from slider specific rc,
which makes this folder without "+x" permission.

In order to make Pixel Logger can write config files in this folder.
This change will make sure "/data/vendor/wifi" have +x permission

Bug: 159650456
Test: wifi is workable
      data/vendor/wifi with 771 permission
Change-Id: I5b396fc41a4eddefc04d43f8e3d276787d722726
This commit is contained in:
chenpaul 2021-02-20 10:28:10 +08:00 committed by TreeHugger Robot
parent 4bcdbf3244
commit 589e1d8d89

View file

@ -271,6 +271,10 @@ on post-fs-data
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
mkdir /data/vendor/hal_neuralnetworks_darwinn/checksum_cache 0770 system system
on zygote-start
# For PixelLogger configuration file.
chmod 0771 /data/vendor/wifi
on post-fs-data
# Create the directories used by the Wireless subsystem
mkdir /data/vendor/wifi 0771 wifi wifi