This file is indexed.

/usr/share/initramfs-tools/hooks/brltty is in brltty 5.3.1-2ubuntu2.

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh -e

OPTION=FRAMEBUFFER
PREREQS=""

prereqs() { echo "$PREREQS"; }

case "$1" in
    prereqs)
    prereqs
    exit 0
    ;;
esac

. /usr/share/initramfs-tools/hook-functions

[ -r /etc/default/brltty ] && . /etc/default/brltty

[ -x /sbin/brltty ] || exit 0

if [ "$START_IN_INITRAMFS" = "true" -o "$START_IN_INITRAMFS" = "yes" ]; then
  echo -n "Installing BRLTTY into initramfs..."

  cp -a /etc/brltty/ $DESTDIR/etc/
  cp /etc/brltty.conf $DESTDIR/etc/

  cp -a /lib/brltty/ $DESTDIR/lib/

  mkdir -p $DESTDIR/usr/lib/x86_64-linux-gnu
  cp -a /usr/lib/x86_64-linux-gnu/gconv \
    $DESTDIR/usr/lib/x86_64-linux-gnu

  copy_exec /sbin/brltty /sbin/

  manual_add_modules pcspkr
  manual_add_modules uinput

  echo "done"
else
  mkdir -p $DESTDIR/lib/brltty
  copy_exec /usr/share/brltty/initramfs/brltty.sh /lib/brltty
  mkdir -p $DESTDIR/sbin
  copy_exec /sbin/brltty-setup /sbin
fi