/usr/lib/ubiquity/target-config/31brltty is in brltty 4.3-1ubuntu5.
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 | #! /bin/sh
set -e
[ ! -f /etc/default/brltty ] || . /etc/default/brltty
if egrep -q 'braille=ask|brltty' /proc/cmdline && [ -f /etc/brltty.conf ] && \
[ -e /target/etc/default/brltty ] && [ "$RUN_BRLTTY" = yes ]; then
mkdir -p /target/etc/default
if [ -e /target/etc/brltty.conf ]; then
mv /target/etc/brltty.conf /target/etc/brltty.conf.orig
fi
cp -a /etc/brltty.conf /target/etc/brltty.conf
sed -i -e 's/^RUN_BRLTTY=.*/RUN_BRLTTY=yes/' /target/etc/default/brltty
fi
exit 0
|