Automation: Split into two service
1. setup adb requires system permssion
2. wizard and other setup requires root permssions
Issue: FP3-A11#130
Change-Id: Iba2aedded8e8811425dddde9e4ce56758ec2f93d
diff --git a/automation_setup/automation_setup.rc b/automation_setup/automation_setup.rc
index 4e54ab8..2374d96 100644
--- a/automation_setup/automation_setup.rc
+++ b/automation_setup/automation_setup.rc
@@ -5,10 +5,18 @@
#
on load_persist_props_action
+ start automation_adb_setup
start automation_setup
+service automation_adb_setup /system/bin/automation_adb_setup
+ user system
+ group root
+ stdio_to_kmsg
+ oneshot
+ disabled
+
service automation_setup /system/bin/automation_setup
- user system
+ user root
group root
stdio_to_kmsg
oneshot