aboutsummaryrefslogtreecommitdiffstats
path: root/mail/youbin/pkg-install
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-04-21 18:09:19 +0800
committermax <max@FreeBSD.org>1997-04-21 18:09:19 +0800
commitabc3268e5e41c1f5ed0dc20f53eb224cafb4a684 (patch)
treea36b3ae852232576b40d96b11f5b8cd4fc466292 /mail/youbin/pkg-install
parent05685eed88ad4e4a05700f8f8a78bffd1f614431 (diff)
downloadfreebsd-ports-gnome-abc3268e5e41c1f5ed0dc20f53eb224cafb4a684.tar.gz
freebsd-ports-gnome-abc3268e5e41c1f5ed0dc20f53eb224cafb4a684.tar.zst
freebsd-ports-gnome-abc3268e5e41c1f5ed0dc20f53eb224cafb4a684.zip
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
Diffstat (limited to 'mail/youbin/pkg-install')
-rw-r--r--mail/youbin/pkg-install13
1 files changed, 8 insertions, 5 deletions
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 "***********************************************************"