This file is indexed.

/usr/share/ltsp/init-ltsp.d/08-edu-hostname 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
#!/bin/sh

# Reorder scripts to make sure host name setting can use DNS lookup
dnsinit=/usr/share/ltsp/init-ltsp.d/10-resolv-conf
if [ -e $dnsinit ] ; then
    . $dnsinit
fi

# Update hostname based on DNS or MAC address using our name scheme
HOSTNAME=$(/usr/sbin/update-hostname-from-ip -m -n)