1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Do not support running fam standalone (started from /usr/local/etc/rc.d)

anymore.
This commit is contained in:
Alan Eldridge 2002-09-06 23:26:09 +00:00
parent f5cc1d4d52
commit 2414faede0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65745
2 changed files with 1 additions and 22 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= fam
PORTVERSION= 2.6.9
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
PATCH_SITES= ftp://oss.sgi.com/projects/fam/download/patches/
@ -30,7 +31,6 @@ pre-configure:
<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
post-install:
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/fam.sh.sample ${PREFIX}/etc/rc.d/fam.sh.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,21 +0,0 @@
#!/bin/sh
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
echo "$0: Cannot determine the PREFIX" >&2
exit 1
fi
case "$1" in
start)
[ -x ${PREFIX}/bin/fam ] && ( ${PREFIX}/bin/fam -T 0 & ) \
&& echo -n ' fam'
;;
stop)
killall fam && echo -n ' fam'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0