summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDemon Singur <demonsingur@gmail.com>2018-12-18 14:56:46 +0100
committerArian <arian.kulmer@web.de>2019-10-25 22:17:12 +0200
commit7f27a03bfe339253a9cc88532bf7257f68064d40 (patch)
tree42546ebeabc6fa272b5a3252d512cb2daed337e8
parentda35b73c5608359950ab49cbee5ac82b19c4364a (diff)
shinano-common: Do not symlink sdcard legacy path
Solves the following denial. denied { write } for pid=548 comm="init" name="storage" dev="rootfs" ino=15996 scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Change-Id: If246f497bd8384f0fee81469d8d29dcb528d4d4e
-rw-r--r--rootdir/etc/init.qcom.rc5
1 files changed, 0 insertions, 5 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index a178d9d..b2ce56f 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -34,9 +34,6 @@ on init
write /sys/bus/msm_subsys/devices/subsys2/restart_level "RELATED"
write /sys/bus/msm_subsys/devices/subsys3/restart_level "RELATED"
- # for backwards compatibility
- symlink /sdcard /storage/sdcard0
-
chmod 0664 /proc/rdtag
chown root system /proc/rdtag
@@ -81,8 +78,6 @@ on fs
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
- symlink /sdcard /storage/sdcard0
-
# Start hvdcp to enable quck charge 2.0 in power off charge
start hvdcp