This file is indexed.

/usr/share/tcos/hooks-addons/17acpid is in initramfs-tools-tcos 0.89.93ubuntu2.

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
# hooks addon of acpid

if [ ! $TCOS_ACPID ]; then
  _verbose "(17acpi) TCOS_ACPI disabled"
else
 stat_before

 manual_add_modules button
 cpifexists /usr/sbin/acpid     /usr/sbin/

 mkdir -p ${DESTDIR}/etc/acpi
 mkdir -p ${DESTDIR}/var/run

cat << EOF > ${DESTDIR}/sbin/startacpid
#!/bin/sh

modprobe button
/usr/sbin/acpid -c /etc/acpi 
EOF
chmod +x ${DESTDIR}/sbin/startacpid

cat << EOF > ${DESTDIR}/etc/acpi/button_event
event=button[ /]power
action=/sbin/poweroff
EOF

 stat_after "ACPI daemon"

fi # end of TCOS_ACPID