summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpcraig <rpcraig@tycho.ncsc.mil>2012-11-02 14:46:23 -0400
committerrpcraig <rpcraig@tycho.ncsc.mil>2012-11-05 09:26:08 -0500
commitcf9e306d71d44b4e96fb4c357616e74705eda6fb (patch)
tree9e0ef02be16f0aa5cb0407303bdf0c937b551e7e
parent6eda037eea4d90eb60152979be1ae8706f3c351a (diff)
downloaddevice_samsung_tuna-cf9e306d71d44b4e96fb4c357616e74705eda6fb.zip
device_samsung_tuna-cf9e306d71d44b4e96fb4c357616e74705eda6fb.tar.gz
device_samsung_tuna-cf9e306d71d44b4e96fb4c357616e74705eda6fb.tar.bz2
SELinux mods to init file.
Change-Id: I981d9791e0a3a5a83116bbb842870ccdcd84c4fe Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
-rwxr-xr-xinit.tuna.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 070ab1d..a0f3e3b 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -49,6 +49,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