diff options
author | Nick Kralevich <nnk@google.com> | 2014-03-11 17:12:14 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-11 17:12:14 +0000 |
commit | 8163400615176042030d53ffa8c8a31eaf702d1a (patch) | |
tree | f6d8bf09ab7f6029668c92ce780fafbdb8f7e037 | |
parent | 218fa136e1ff858bc7c76725b844b091200bf2db (diff) | |
parent | 4ce318bbf4b7036ed2a5a4051bf163f1d74c6100 (diff) | |
download | tilapia-8163400615176042030d53ffa8c8a31eaf702d1a.tar.gz |
am 4ce318bb: Merge "Add missing restorecon calls."
* commit '4ce318bbf4b7036ed2a5a4051bf163f1d74c6100':
Add missing restorecon calls.
-rw-r--r-- | init.tilapia.rc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init.tilapia.rc b/init.tilapia.rc index 154709d..5960198 100644 --- a/init.tilapia.rc +++ b/init.tilapia.rc @@ -29,12 +29,30 @@ on fs setprop ro.crypto.umount_sd false mount_all /fstab.grouper + restorecon /dev/block/platform/sdhci-tegra.3/by-name/PER on post-fs-data mkdir /data/media 0770 media_rw media_rw + restorecon_recursive /data/media # change back to bluetooth from system chown bluetooth net_bt_stack /data/misc/bluetooth + + # sensors-config + mkdir /data/sensors 751 + restorecon_recursive /data/sensors + # /data/sensors was owned by system/system earlier. + # Force it to root/root if it already exists. + chown root root /data/sensors + mkdir /data/lightsensor 751 + restorecon_recursive /data/lightsensor + # /data/lightsensor was owned by system/system earlier. + # Force it to root/root if it already exists. + chown root root /data/lightsensor + mkdir /data/calibration + restorecon_recursive /data/calibration + mkdir /data/amit + restorecon_recursive /data/amit mkdir /data/radio 0775 radio radio mkdir /data/radio/log 0775 radio radio |