This file is indexed.

/usr/share/tcos/hooks-addons/53mga 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
32
33
34
35
# hook addon for thin clients with chip Matrox MGA*

cat << EOF > ${DESTDIR}/scripts/tcos-bottom/15mga
#!/bin/sh
#
if [ "\$1" = "prereqs" ]; then
  exit 0
fi

quiet=n

. /scripts/functions
. /conf/tcos.conf
. /conf/tcos-run-functions

#ids="2064w 1064sg 2164w g100 g200 g400 g550"
test1=\$(get_vga_vendor "102B")


if [ "\$test1" != "1" ]; then
   # not in client with chip Matrox mga
   exit 0
else

   if [ -f /usr/lib/xorg/modules/drivers/mga_drv.so ]; then
     log_begin_msg "Loading support Matrox MGA driver"
         configurexorg --newsettings --xdriver=mga --outputfile=/etc/X11/xorg.conf 2>> /tmp/initramfs.debug
     log_end_msg \$?
   fi

fi


EOF
chmod +x ${DESTDIR}/scripts/tcos-bottom/15mga