aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/etc/init.tab2.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.tab2.rc')
-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