/usr/share/tcos/scripts/tcos-bottom/75print 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 28 29 30 31 32 33 34 35 | #!/bin/sh
#
if [ "$1" = "prereqs" ]; then
exit 0
fi
quiet=n
. /conf/tcos.conf
. /scripts/functions
. /conf/tcos-run-functions
. /bin/set-limits
if [ $TCOS_PRINTER ]; then
LP=""
[ -e /dev/lp0 ] && LP=/dev/lp0
[ -e /dev/lp1 ] && LP=/dev/lp1
[ -e /dev/usblp0 ] && LP=/dev/usblp0
[ -e /dev/usb/lp0 ] && LP=/dev/usb/lp0
if [ "${LP}" = "" ]; then exit 0; fi
if [ -e /usr/bin/p910nd ]; then
mkdir -p /var/lock/p910nd
/usr/bin/p910nd -f $LP > /var/log/p910nd.log 2>&1 &
fi
fi
exit 0
|