Hi All!
I'm working on android 4.2.2 with jorjin racoon board. I have a question regrading to file init.rc.
I created a new service at the end of file init.rc like the following:
service testmounter /system/bin/logwrapper /system/bin/mounter.sh
class main
user root
group root
oneshot
File mounter.sh likes the following:
#! /system/bin/sh
echo "Start Mounter"
/system/bin/am start -a android.intent.action.MAIN -n com.paragon.mounter/.Mounter
I changed mode mounter.sh to 765.
But I don't know why my service not run when booting android.
Looking forward for the suggestions.
Thanks