summaryrefslogtreecommitdiffstats
path: root/rootdir/init.smdk4210.rc
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-11 18:12:03 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-11 18:12:03 +0200
commit4ce796517d80a1877bb2766c8b3403327db745c0 (patch)
treebea43907be218a12542a61911f85157cc54407cd /rootdir/init.smdk4210.rc
parent279859988403de649091978b0bff52bce153fd29 (diff)
downloaddevice_samsung_galaxys2-common-4ce796517d80a1877bb2766c8b3403327db745c0.zip
device_samsung_galaxys2-common-4ce796517d80a1877bb2766c8b3403327db745c0.tar.gz
device_samsung_galaxys2-common-4ce796517d80a1877bb2766c8b3403327db745c0.tar.bz2
galaxys2: refine sepolicies
Change-Id: Ifa7e56537af87f14a59e5c9b5f254073eea22a8f
Diffstat (limited to 'rootdir/init.smdk4210.rc')
-rw-r--r--rootdir/init.smdk4210.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index a3dca0e..301e608 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -38,6 +38,21 @@ on fs
mkdir /data/misc/radio 0775 radio system
chmod 0770 /data/misc/wifi
+# Restorecon
+ restorecon /efs/nv_data.bin
+ restorecon /efs/nv_data.bin.md5
+ restorecon /efs/.nv_core.bak
+ restorecon /efs/.nv_core.bak.md5
+ restorecon /efs/.nv_data.bak
+ restorecon /efs/.nv_data.bak.md5
+ restorecon /efs/.nv_state
+ restorecon /efs/bluetooth/bt_addr
+ restorecon /efs/FactoryApp/factorymode
+ restorecon /efs/FactoryApp/hw_ver
+ restorecon /efs/FactoryApp/keystr
+ restorecon /efs/FactoryApp/serial_no
+ restorecon /efs/imei/mps_code.dat
+
on post-fs-data
# insmod kernel modules
insmod /system/lib/modules/j4fs.ko