gta4xl-common: move chown for fastcharge switch to earlier stage
* Otherwise fastcharge setting gets lost on reboot
Change-Id: Ia8e91ebba4c66c7c9c427dafa9ec41a09020396d
diff --git a/config/init/init.exynos9611.root.rc b/config/init/init.exynos9611.root.rc
index 07a1663..a261630 100644
--- a/config/init/init.exynos9611.root.rc
+++ b/config/init/init.exynos9611.root.rc
@@ -62,6 +62,9 @@
chmod 0660 /sys/power/wakeup_count
+ # fastcharge switch
+ chown system radio /sys/class/sec/switch/afc_disable
+
on early-fs
# tzic need to be grand permission before vold
chown system net_bt_admin /dev/tzic
@@ -277,7 +280,6 @@
chown system radio /sys/class/sec/switch/uart_en
chown system radio /sys/class/sec/switch/otg_test
chown system radio /sys/class/sec/switch/apo_factory
- chown system radio /sys/class/sec/switch/afc_disable
chown system radio /sys/class/sec/switch/hiccup
chown system radio /sys/class/sec/switch/jig_disable
chown system radio /sys/class/sec/switch/factory_uart