aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-08-17 17:21:00 +0200
committerAndreas Blaesius <skate4life@gmx.de>2015-08-17 17:58:35 +0200
commit598337bf958cbc793475bc6f1fd4f216ad43ae80 (patch)
treecc249d3efa5d81c68800c6551c89f6b5cda1e2c0 /rootdir
parent66c6333a685fe3600aaf08c5d6d51eaea9d8a0ef (diff)
downloaddevice_samsung_espressowifi-598337bf958cbc793475bc6f1fd4f216ad43ae80.zip
device_samsung_espressowifi-598337bf958cbc793475bc6f1fd4f216ad43ae80.tar.gz
device_samsung_espressowifi-598337bf958cbc793475bc6f1fd4f216ad43ae80.tar.bz2
espresso-common: set restorecon_recursive on /efs
Some small order changes too. Change-Id: Ib90d6ef47752ed6bcd5493289ca786e3e236b4dd
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.tab2.rc24
1 files changed, 5 insertions, 19 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index 8469cd2..f0c80ad 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -47,34 +47,20 @@ loglevel 7
on fs
mkdir /efs
- setprop ro.crypto.fuse_sdcard true
-
# We chown/chmod /efs because mount is run as root + defaults
chown radio system /efs
chmod 0775 /efs
- mount debugfs /sys/kernel/debug /sys/kernel/debug
-
# Restorecon
- restorecon /efs/nv.log
- 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
- restorecon /efs/wifi/.mac.info
+ restorecon_recursive /efs
# pvr module
insmod /system/lib/modules/pvrsrvkm_sgx540_120.ko
+ setprop ro.crypto.fuse_sdcard true
+
+ mount debugfs /sys/kernel/debug /sys/kernel/debug
+
on post-fs-data
# we will remap this as /storage/sdcard0 with the sdcard fuse tool
mkdir /data/media 0770 media_rw media_rw