summaryrefslogtreecommitdiffstats
path: root/init.tuna.rc
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2013-03-19 22:14:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-03-19 22:14:11 +0000
commitbd1d0f70eaabab518394863608ee022425d6cd9d (patch)
treed75557b62df5876c65ab12cd5262170dab6da44e /init.tuna.rc
parent1325a6672ee095e562a0c5d77f0c86b0a512a037 (diff)
parentcf9e306d71d44b4e96fb4c357616e74705eda6fb (diff)
downloaddevice_samsung_tuna-bd1d0f70eaabab518394863608ee022425d6cd9d.zip
device_samsung_tuna-bd1d0f70eaabab518394863608ee022425d6cd9d.tar.gz
device_samsung_tuna-bd1d0f70eaabab518394863608ee022425d6cd9d.tar.bz2
Merge "SELinux mods to init file."
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-xinit.tuna.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index c5016d5..791473a 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