From abc3268e5e41c1f5ed0dc20f53eb224cafb4a684 Mon Sep 17 00:00:00 2001 From: max Date: Mon, 21 Apr 1997 10:09:19 +0000 Subject: 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 --- mail/youbin/pkg-install | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'mail/youbin/pkg-install') diff --git a/mail/youbin/pkg-install b/mail/youbin/pkg-install index 649b7f3b895e..5ab7f5561a90 100644 --- a/mail/youbin/pkg-install +++ b/mail/youbin/pkg-install @@ -1,10 +1,13 @@ #!/bin/sh if [ "$2" != "POST-INSTALL" ]; then exit 0; fi -(grep -v ^# /etc/inetd.conf | grep comsat > /dev/null) || exit 0 - echo "***********************************************************" -echo " Now you need to edit /etc/inetd.conf and comment out the" -echo " entry for comsat. Then, do:" -echo " kill -HUP `cat /var/run/inetd.pid`" +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 "***********************************************************" -- cgit