Home > Mobile >  . Rc file inside why not start service
. Rc file inside why not start service

Time:04-30

I wrote a test. The rc on the system/etc/init/this directory below but cannot start service

This is the test. The rc code

Service test_call_script/system/bin/sh/system/bin/test. The sh
The class core
The user root
Group shell
Oneshot

On the property: sys. Boot_completed=1
Start test_call_script
Write/data/local/TMP/test 1

/data/local/TMP/test the file creation succeeded, but/system/bin/test. The sh this file created file there is executed
  • Related