1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Rename files/start.fingerd.sh.sample -> fingerd.sh.sample.

Submitted by:	sanpei@yy.cs.keio.ac.jp
(Closing part of PR #2360.)
This commit is contained in:
Masafumi Max NAKANE 1997-01-06 07:24:43 +00:00
parent 466871b11d
commit f0bf4911ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5222
4 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# Date created: 20 June 1996 # Date created: 20 June 1996
# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp> # Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
# #
# $Id: Makefile,v 1.4 1996/11/18 10:25:27 asami Exp $ # $Id: Makefile,v 1.5 1996/12/01 01:22:49 obrien Exp $
# #
DISTNAME= finger-1.37 DISTNAME= finger-1.37
@ -21,7 +21,7 @@ post-install:
${MKDIR} ${PREFIX}/etc/rc.d ${MKDIR} ${PREFIX}/etc/rc.d
@${CP} ${WRKSRC}/support/ttylocs ${PREFIX}/etc/fingerdir/ttylocs.sample @${CP} ${WRKSRC}/support/ttylocs ${PREFIX}/etc/fingerdir/ttylocs.sample
@${CP} ${FILESDIR}/clients.sample ${PREFIX}/etc/fingerdir/clients.sample @${CP} ${FILESDIR}/clients.sample ${PREFIX}/etc/fingerdir/clients.sample
@${INSTALL} ${COPY} -m 744 -o root ${FILESDIR}/start.fingerd.sh.sample ${PREFIX}/etc/rc.d/start.fingerd.sh.sample @${INSTALL} ${COPY} -m 744 -o root ${FILESDIR}/fingerd.sh.sample ${PREFIX}/etc/rc.d/fingerd.sh.sample
@echo "GNU.finger.server.hotname" > ${PREFIX}/etc/fingerdir/serverhost.sample @echo "GNU.finger.server.hotname" > ${PREFIX}/etc/fingerdir/serverhost.sample
@echo "mail.spool.server.hostname" > ${PREFIX}/etc/fingerdir/mailhost.sample @echo "mail.spool.server.hostname" > ${PREFIX}/etc/fingerdir/mailhost.sample

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ -x /usr/local/libexec/fingerd -a -f /usr/local/etc/fingerdir/serverhost ]; then
/usr/local/libexec/fingerd
echo ' gnu-fingerd'
fi

View File

@ -23,9 +23,8 @@ finger stream tcp nowait nobody /usr/local/libexec/in.fingerd in.fingerd
% kill -HUP `cat /var/run/inetd.pid` % kill -HUP `cat /var/run/inetd.pid`
5) If this host is GNU finger server host, 5) If this host is GNU finger server host,
move start.fingerd.sh.sample to start.fingerd.sh in /usr/local/etc/rc.d rename fingerd.sh.sample to fingerd.sh in /usr/local/etc/rc.d directory.
directory. And exec fingerd.sh.
And exec start_fingerd.sh.
- Yoshiro MIHIRA - Yoshiro MIHIRA
(sanpei@yy.cs.keio.ac.jp) (sanpei@yy.cs.keio.ac.jp)

View File

@ -2,7 +2,7 @@ bin/finger
libexec/fingerd libexec/fingerd
libexec/in.fingerd libexec/in.fingerd
libexec/in.cfingerd libexec/in.cfingerd
etc/rc.d/start.fingerd.sh.sample etc/rc.d/fingerd.sh.sample
etc/fingerdir/ttylocs.sample etc/fingerdir/ttylocs.sample
etc/fingerdir/clients.sample etc/fingerdir/clients.sample
etc/fingerdir/mailhost.sample etc/fingerdir/mailhost.sample