anchor.diff:      mv ${D}${libexecdir}/tftpd ${D}${sbindir}/in.tftpd
       mv ${D}${libexecdir}/telnetd ${D}${sbindir}/in.telnetd
       mv ${D}${libexecdir}/rexecd ${D}${sbindir}/in.rexecd
  -    mv ${D}${libexecdir}/rlogind ${D}${sbindir}/in.rlogind
  -    mv ${D}${libexecdir}/rshd ${D}${sbindir}/in.rshd
  -    mv ${D}${libexecdir}/talkd ${D}${sbindir}/in.talkd
  +    if [ -e ${D}${libexecdir}/rlogind ]; then
  +        mv ${D}${libexecdir}/rlogind ${D}${sbindir}/in.rlogind
  +    fi
  +    if [ -e ${D}${libexecdir}/rshd ]; then
  +        mv ${D}${libexecdir}/rshd ${D}${sbindir}/in.rshd
  +    fi
  +    if [ -e ${D}${libexecdir}/talkd ]; then
  +        mv ${D}${libexecdir}/talkd ${D}${sbindir}/in.talkd
  +    fi
       mv ${D}${libexecdir}/uucpd ${D}${sbindir}/in.uucpd
       mv ${D}${libexecdir}/* ${D}${bindir}/
       cp ${WORKDIR}/rexec.xinetd.inetutils  ${D}/${sysconfdir}/xinetd.d/rexec
  
positive.code: HOMEPAGE = "http://www.gnu.org/software/inetutils"
  SECTION = "net"
  DEPENDS = "ncurses netbase readline"
  LICENSE = "GPLv3"
  
  LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7"
  
negative.code:     cp ${WORKDIR}/tftpd.xinetd.inetutils  ${D}/${sysconfdir}/xinetd.d/tftpd
  
      sed -e 's,@SBINDIR@,${sbindir},g' -i ${D}/${sysconfdir}/xinetd.d/*
      if [ -e ${D}${libdir}/charset.alias ]; then
          rm -rf ${D}${libdir}/charset.alias
      fi
      rm -rf ${D}${libexecdir}/
      # remove usr/lib if empty
      rmdir ${D}${libdir} || true
  