This file is indexed.

/usr/share/upstart/sessions/mtp-server.conf is in mtp-server 0.0.4+15.04.20150219-0ubuntu3~gcc5.1.

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
description "MTP protocol server"

start on :sys:android-usb-connected or android-usb-connected or :sys:android-mtp-on or android-mtp-on or started unity8
stop on :sys:android-usb-disconnected or android-usb-disconnected or :sys:android-mtp-off or android-mtp-off or desktop-end

pre-start script
    [ "$USER" != "lightdm" ] || { stop; exit 0; }

    test -e /sys/devices/virtual/android_usb/android0/state || { stop; exit 0; }
    grep -q DISCONNECTED /sys/devices/virtual/android_usb/android0/state && { stop; exit 0; }
    grep -q mtp /sys/devices/virtual/android_usb/android0/functions || { stop; exit 0; }

    # Fix for bug LP: #1389223: UnityGreeter isn't available immediately
    if ! dbus-send --session --print-reply \
            --dest=com.canonical.UnityGreeter \
            / org.freedesktop.DBus.Introspectable.Introspect 2>&1 | \
                grep -qc IsActive; then
        sleep 10
    fi
end script

env GOOGLE_LOGTOSTDERR=1

respawn
respawn limit unlimited

exec /usr/bin/mtp-server