This file is indexed.

/etc/init/ubuntu-location-service.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
start on android and started dbus

script
    provider="gps::Provider"

    while [ ! -e /dev/socket/property_service ]; do sleep 0.1; done

    # Check if we need to use the fake provider instead
    if [ "$(getprop custom.location.fake)" = "true" ]; then
        provider="dummy::Provider"
        poptions="--dummy::Provider::ReferenceLocationLat=$(getprop custom.location.lat 51.505660) \
                  --dummy::Provider::ReferenceLocationLon=$(getprop custom.location.lon -0.099850)"
    fi

    exec /usr/bin/ubuntu-location-serviced --bus system --provider $provider $poptions
end script