#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then exit 0; fi

echo "***********************************************************"
echo " Now, if you want to run the youbin server on this system:"
echo "   1. Rename ${PKG_PREFIX}/etc/rc.d/youbind.sh.sample to "
echo "      ${PKG_PREFIX}/etc/rc.d/youbind.sh."
grep -v ^# /etc/inetd.conf | grep comsat > /dev/null
if [ $? -eq 0 ]; then
  echo "   2. Comment out the entry for comsat in /etc/inetd.conf and do"
  echo "         kill -HUP `cat /var/run/inetd.pid`"
fi
echo "***********************************************************"