This file is indexed.

/usr/share/ltsp/init-ltsp.d/60-edu-client is in debian-edu-config 1.818+deb8u2.

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

service_disable() {
    service="$1"
    if [ systemd = "$BOOTSYSTEM" ] \
	&& [ -f /lib/systemd/system/${service}.service ] ; then
	systemctl disable ${service}.service
    else
        update-rc.d $service disable || true
    fi
}

if grep -q systemd /sbin/init ; then
    BOOTSYSTEM=systemd
else
    BOOTSYSTEM=sysvinit
fi

# Use systemd compliant systemctl.
# Remove unused dm services if ldm is used.
if [ -z "$DEFAULT_DISPLAY_MANAGER" ]; then
    for service in \
        lightdm \
        kdm \
        gdm3 \
      ; do
        service_disable $service
    done
fi

# For Debian Edu diskless workstations (i.e. ltsp fat clients).
if boolean_is_true "$LTSP_FATCLIENT" && [ -z "$DEFAULT_DISPLAY_MANAGER" ]; then
    # Remove autofs to let sshfs mount home dir (LDM is used).
    service_disable autofs
fi

# Remove useless services for thin clients.
if ! boolean_is_true "$LTSP_FATCLIENT" ; then
    for service in \
        cups-browsed \
        anacron \
        avahi-daemon \
        autofs \
        bluetooth \
        inetd \
        rpcbind \
        ntp \
        nfs-common \
        nslcd \
        nscd \
        timidity \
        minidlna \
        lirc \
      ; do
        service_disable $service
    done
fi