/usr/share/tcos/scripts/tcos-bottom/22intel is in initramfs-tools-tcos 0.89.86.
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 | #!/bin/sh
#
if [ "$1" = "prereqs" ]; then
exit 0
fi
quiet=n
. /conf/tcos.conf
[ "$TCOS_XORG_VIDEO_DRIVER" = "fullauto" ] && exit 0
[ "$TCOS_XORG_VIDEO_DRIVER" = "xorgauto" ] && exit 0
test_intel=0
test_intel=$(get_vga_vendor 8086)
if [ -e /usr/lib/xorg/modules/drivers/intel_drv.so ] && [ "$test_intel" = "1" ]; then
# force intel driver (intel don't like VESA)
configurexorg --newsettings --xdriver=intel
fi
exit 0
|