From 5bdce0a4c3e4f2de18bd9ff8b79ea44e7a066b19 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Mon, 14 Jan 2019 11:08:30 +0100 Subject: [PATCH] sdm660-common: rootdir: Remove useless attempt to chmod /system/bin/ip /system is mounted read-only. It's impossible for init to modify the permissions on /system/bin/ip. Change-Id: Ie5cb20bc45f9769969b71ffd747b1ed34fc27187 --- rootdir/etc/init.qcom.rc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index c9b19b8e..98fb3371 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -172,10 +172,6 @@ on boot #enable camera read sensors data setprop persist.camera.gyro.disable 0 - #Remove SUID bit for iproute2 ip tool - chmod 0755 /system/bin/ip - - chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state setprop net.tcp.2g_init_rwnd 10