/usr/share/tcos/hooks-addons/15inetd is in initramfs-tools-tcos 0.89.86.
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 | # hooks addon of inetd
# need inetd package
if [ ! $TCOS_INETD ]; then
_verbose "(15inetd) TCOS_INETD disabled"
else
stat_before
# inetd and telnet
#copy_exec /usr/sbin/in.telnetd /usr/bin
#copy_exec /usr/bin/telnet /usr/bin
cpifexists /usr/sbin/tcpd /usr/bin/
cpifexists /usr/sbin/inetd /usr/bin/
#echo "telnet stream tcp nowait root /sbin/tcpd telnetd" > $DESTDIR/etc/inetd.conf
#copy_exec /usr/lib/telnetlogin /usr/lib/
stat_after "Inetd daemon"
fi # end of TCOS_INETD
|