/usr/share/tcos/hooks-addons/09printer is in initramfs-tools-tcos 0.89.93ubuntu2.
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 36 37 | # hooks addon for printer support
add_lp_modules() {
force_load parport_pc
force_load usblp
force_load lp
}
if [ ! $TCOS_PRINTER ] ;then
_verbose "(09printer) TCOS_PRINTER disabled"
else
stat_before
if [ -e /usr/sbin/p910nd ]; then
#/var/run/p9100d.pid, /var/lock/subsys/p9100d, /etc/hosts.allow, /etc/hosts.deny
mkdir -p $DESTDIR/var/run
mkdir -p $DESTDIR/var/lock/subsys
cpifexists /usr/sbin/p910nd /usr/bin/
stat_after "Print server [p910nd]"
else
_echo "WARNING:"
_echo ""
_echo " TCOS_PRINTER enabled but not found p910nd package"
_echo " Please install p910nd, or disable TCOS_PRINTER support"
_echo ""
_echo ""
fi
add_lp_modules
fi
# end of TCOS_PRINTER
|