This file is indexed.

/usr/share/tcos/hooks-addons/52intel is in initramfs-tools-tcos 0.89.86.

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
30
31
# hook for intel graphics card
# Copyright Rubén Gómez Antolí <listas at mucharuina [.] com>


cat << EOF > $DESTDIR/sbin/disable_dpms
#!/bin/sh

sleep 2
waitforX || exit
# disable dpms
sleep 2
xset -dpms

EOF
chmod +x $DESTDIR/sbin/disable_dpms


cat << EOF > $DESTDIR/etc/X11/PreRun/30intel_dpms
#!/bin/sh

test1=0
test1=\$(get_vga_vendor 8086)

if [ "\$test1" = "1" ]; then
  /sbin/disable_dpms &
fi


EOF

chmod +x $DESTDIR/etc/X11/PreRun/30intel_dpms