summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2013-03-19 15:43:54 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-03-19 15:43:54 -0700
commit8390e0911799466be50fb51f9518327180e65498 (patch)
tree948063b00f16fd3e8ad2efeb120d19c9879b659f
parentf5717e6f197326c440a7a68e422496f09067b0d0 (diff)
parent661d6f565d7ecc19999ed9a022c275c73ce4e28a (diff)
downloadtuna-8390e0911799466be50fb51f9518327180e65498.tar.gz
am 661d6f56: am 3a98fa92: Merge "SELinux mods to init file."
* commit '661d6f565d7ecc19999ed9a022c275c73ce4e28a': SELinux mods to init file.
-rwxr-xr-xinit.tuna.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 6392b12..8540f8c 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -55,6 +55,21 @@ on boot
on fs
mkdir /factory 0775 radio radio
mount_all /fstab.tuna
+ restorecon /dev/block/platform/omap/omap_hsmmc.0/by-name/radio
+ mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory rw remount
+ restorecon /factory
+ restorecon /factory/imei/mps_code.dat
+ restorecon /factory/.nv_state
+ restorecon /factory/.nv_data.bak
+ restorecon /factory/nv_data.bin
+ restorecon /factory/nv_data.bin.md5
+ restorecon /factory/hdcp.keys
+ restorecon /factory/imei
+ restorecon /factory/wifi
+ restorecon /factory/wv.keys
+ restorecon /factory/bluetooth
+ restorecon /factory/bluetooth/bt_addr
+ mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ro remount
setprop ro.crypto.fuse_sdcard true
# change permissions for mtd device