This file is indexed.

/etc/init/ofono.override is in lxc-android-config 0.162.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
description "oFono Mobile telephony stack"

start on (started dbus and
          file FILE=/dev/socket)
stop on stopping dbus

expect fork
respawn

pre-start script
  timeout=10
  # loop 10 times and then exit, if rild isnt up after 80 sec
  # it is likely not starting at all (or not there)
  while [ ! -e /dev/socket/rild ]; do
      sleep 8
      if [ "$timeout" -le 0 ]; then
          stop
          exit 0
      fi
      timeout=$(($timeout - 1))
  done
  sleep 5
end script

exec ofonod -p ril,rilmodem,provision,mbpi,nettime,mnclength,smshistory,push_notification