net/quoted: Fix syntax error of rc script

* Switch to use @rmtry in pkg-plist
* Pet portclippy

PR:		259015
Approved by:	maintainer, ygy (mentor)
Differential Revision:	https://reviews.freebsd.org/D32541
This commit is contained in:
hex7c@libpluto.net 2021-10-18 09:22:49 +09:00 committed by Yasuhiro Kimura
parent cb311e1b56
commit 086b6c38de
3 changed files with 5 additions and 5 deletions

View File

@ -2,16 +2,16 @@
PORTNAME= quoted
PORTVERSION= 1.01
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.mrp3.com/webutil/
MAINTAINER= bobf@mrp3.com
COMMENT= Easily configured QOTD daemon with over 130 good quality quotes
GNU_CONFIGURE= yes
USES= gmake
USE_RC_SUBR= ${PORTNAME}
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -29,7 +29,7 @@ quoted_start()
if [ -e ${required_files} ] ; then
${command_plus_args}
sleep 1
pid=`ps ax | awk '{if (match($5, ".*/quoted$") || $5 == "quoted") print $1}`
pid=`ps ax | awk '{if (match($5, ".*/quoted$") || $5 == "quoted") print $1}'`
if [ -z ${pid} ]; then
echo "${name} failed to start"
return 1

View File

@ -1,4 +1,4 @@
@unexec rm -f /var/run/quoted.pid
@rmtry /var/run/quoted.pid
bin/quoted
etc/quotes
man/man1/quoted.1.gz