Hi,
No, you can't do that. There is another command to include another
init script. But usually we don't do that in init.rc (is it?).
If you are including custom commands, the best method is to use `/
init.PLATFORM.rc`, where PLATFORM is set via the kernel cmdline
`androidboot.hardware=PLATFORM`. It will automatically be loaded by
init.
Also you have the line `disabled` in the service, which states that
the servics shall not be started automatically. You should either add
`start modem-daemon` in one or more event triggers or remove the line.
To sum up with, your `init.PLATFORM.rc` COULD have the following (for
example):
~~~~~~
on boot
start modem-daemon
service modem-daemon /system/bin/modem-daemon
socket connectionServer.sock stream 660 root system
user root
group root radio system
disabled
~~~~~~
Regards,
Alvin Wong