This file is indexed.

/etc/init/rild.conf is in lxc-android-config 0.230+16.04.20160328-0ubuntu1.

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
# rild watcher, emits rild-ready once rild is ready in the container
start on android

emits rild-ready

task

script
    timeout=800
    # loop 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 0.1
        if [ "$timeout" -le 0 ]; then
            stop; exit 0
        fi
        timeout=$(($timeout - 1))
    done

    RIL_DEVICE="$(getprop ril.device ril)"
    RIL_NUM_SIM_SLOTS="$(getprop ril.num_slots 1)"
    initctl emit rild-ready OFONO_RIL_DEVICE=$RIL_DEVICE OFONO_RIL_NUM_SIM_SLOTS=$RIL_NUM_SIM_SLOTS
end script