This file is indexed.

/etc/init/boot-hooks-emit.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
24
25
26
27
28
29
30
# boot-hooks-emit - Triggers boot hooks
# This job is used to trigger a variety of hooks at boot time on Touch devices

# It does that through the "boot-hooks" event and the WHEN variable.
# That variable can be "every-boot" or "new-version".
# In the latter case, it's accompanied by two other variables,
# OLD_BUILD and NEW_BUILD each containing a build ID.

author "Stéphane Graber <stgraber@ubuntu.com>"
description "Triggers boot hooks"

start on local-filesystems

emits boot-hooks

script
    initctl emit boot-hooks WHEN=every-boot

    if [ -e /etc/ubuntu-build ]; then
        last_buildid=0
        [ -e /userdata/.last_ubuntu-build ] && last_buildid=$(cat /userdata/.last_ubuntu-build)

        current_buildid=$(cat /etc/ubuntu-build)

        if [ "$last_buildid" != "$current_buildid" ]; then
            cp /etc/ubuntu-build /userdata/.last_ubuntu-build || true
            initctl emit boot-hooks WHEN=new-version OLD_BUILD=$last_buildid NEW_BUILD=$current_buildid
        fi
    fi
end script