freebsd-ports/mail/youbin/pkg-install
Masafumi Max NAKANE 08ddf63aba Rename the startup script to youbind.sh.sample so that users who only
want to use the client program doesn't have to mess with it.

Rewrite the warning message in pkg/INSTALL.

Suggested by:	sampei@yy.cs.keio.ac.jp
1997-04-21 10:09:19 +00:00

14 lines
576 B
Bash

#!/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 "***********************************************************"