From 598337bf958cbc793475bc6f1fd4f216ad43ae80 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Mon, 17 Aug 2015 17:21:00 +0200 Subject: espresso-common: set restorecon_recursive on /efs Some small order changes too. Change-Id: Ib90d6ef47752ed6bcd5493289ca786e3e236b4dd --- rootdir/etc/init.tab2.rc | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'rootdir') 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 -- cgit v1.1