# 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
