samsung: fastcharge: chown sysfs node on init
authorJan Altensen <info@stricted.net>
Tue, 4 May 2021 00:24:03 +0000 (02:24 +0200)
committerJan Altensen <info@stricted.net>
Tue, 4 May 2021 00:24:03 +0000 (02:24 +0200)
Change-Id: I04d04b89534293cda68fe2499b9dca4fe962c804

hidl/fastcharge/vendor.lineage.fastcharge@1.0-service.samsung.rc

index df3ee5188f4e06ecc6c04e3cf9505f6305240f24..009323a52044d1f5fc3dd6cbb24cd385ac046baf 100644 (file)
@@ -1,3 +1,6 @@
+on init
+    chown system radio /sys/class/sec/switch/afc_disable
+
 service vendor.fastcharge-hal-1-0 /vendor/bin/hw/vendor.lineage.fastcharge@1.0-service.samsung
     class hal
     user system