summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorAkhil Narang <akhilnarang.1999@gmail.com>2019-09-12 16:20:36 +0530
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit5f74e2920dcbbe56216dfa1ccf98de1721155775 (patch)
tree6543583ee0645340c58ab935f6167de1e6d4a03e /rootdir
parentb04d3ff579ff5dd5b6c137507676a0f692531c39 (diff)
sdm660-common: rootdir: Fix for android 10
chmod requires 2 arguments chown requires between 2 and 3 arguments Unable to decode GID for 'net_bt_stack': getpwnam failed: No such file or directory Invalid keyword 'chown' Invalid keyword 'chmod' Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com> Change-Id: I31aba850d8c40414bc89111a4881d6c5c2ecf351
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc10
1 files changed, 5 insertions, 5 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index c99111e..155b25b 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -201,12 +201,12 @@ on boot
chown wifi wifi /sys/class/net/bond0/bonding/queue_id
# Allow access to emmc rawdump block partition and dload sysfs node
- chown root system /dev/block/bootdevice/by-name/rawdump -p /dev/block/
- chmod 0660 /dev/block/bootdevice/by-name/rawdump -p /dev/block/
+ chown root system /dev/block/bootdevice/by-name/rawdump
+ chmod 0660 /dev/block/bootdevice/by-name/rawdump
chown root system /sys/kernel/dload/emmc_dload
chmod 0660 /sys/kernel/dload/emmc_dload
- chown root system /dev/block/bootdevice/by-name/ramdump -p /dev/block/
- chmod 0660 /dev/block/bootdevice/by-name/ramdump -p /dev/block/
+ chown root system /dev/block/bootdevice/by-name/ramdump
+ chmod 0660 /dev/block/bootdevice/by-name/ramdump
chown root system /sys/kernel/dload/dload_mode
chmod 0660 /sys/kernel/dload/dload_mode
@@ -626,7 +626,7 @@ service vendor.bt_logger /system/bin/bt_logger
service ftmd /system/bin/logwrapper /system/bin/ftmdaemon
class late_start
user root
- group bluetooth net_bt_admin misc net_bt_stack diag net_bt
+ group bluetooth net_bt_admin misc diag net_bt
disabled
oneshot