This file is indexed.

/lib/live/config/016-upstart is in live-config-upstart 3.0~a22-1ubuntu1.

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

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/sh

## live-config(7) - System Configuration Scripts
## Copyright (C) 2006-2011 Daniel Baumann <daniel@debian.org>
##
## live-config comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.


Upstart ()
{
	# Checking if package is installed or already configured
	if [ ! -e /var/lib/dpkg/info/upstart.list ] || \
	   [ -e /var/lib/live/config/upstart ]
	then
		return
	fi

	echo -n " upstart"

	Configure_upstart
}

Configure_upstart ()
{
	for _FILE in /etc/init/tty*
	do
		_TTY="$(basename ${_FILE} .conf)"

		# mingetty has autologin support
		if [ -e /sbin/mingetty ] || grep -qs '^exec.*mingetty' "${_FILE}"
		then
			sed -i -e 's|^\(exec.*getty\) *\(--autologin *[^ ]* *\)*.*$|exec /sbin/mingetty --autologin '"${LIVE_USERNAME} ${_TTY}|g" "${_FILE}"
		else
			# substitute getty with a direct login
			sed -i -e 's|^exec.*getty.*$|exec /bin/login -f '"${LIVE_USERNAME} </dev/${_TTY} >/dev/${_TTY} 2>\&1|" "${_FILE}"
		fi
	done

	init q

	for _FILE in /etc/init/tty*
	do
		_TTY="$(basename ${_FILE} .conf)"

		# Try reloading
		if stop ${_TTY}; then
		    start ${_TTY}
                fi
	done

	# Creating state file
	touch /var/lib/live/config/upstart
}

Upstart