diff options
author | Clive Lin <clive@FreeBSD.org> | 2004-02-17 09:51:18 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2004-02-17 09:51:18 +0000 |
commit | c2e4f0f15f652dd0059f3e10b518a02be7b5fdad (patch) | |
tree | 335b0c807c12fcb1dab700a945af99e42715c2e2 /net/dictd | |
parent | - Unbreak this version on 5.x (diff) |
Make start/stop messages consistent with other ports.
Notes
Notes:
svn path=/head/; revision=101170
Diffstat (limited to 'net/dictd')
-rw-r--r-- | net/dictd/files/dictd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dictd/files/dictd.sh b/net/dictd/files/dictd.sh index 6791440d512e..42097ca39cc3 100644 --- a/net/dictd/files/dictd.sh +++ b/net/dictd/files/dictd.sh @@ -19,7 +19,7 @@ DICTD_PID_FILE=/var/run/dictd.pid case "$1" in start) if [ -x $DICTD ]; then - ${ECHO} "dictd starting." + ${ECHO} -n " dictd" $DICTD $DICTD_OPTIONS ${ECHO} `${SOCKSTAT} | ${GREP} dictd | ${AWK} '{print $3}'` > ${DICTD_PID_FILE} else @@ -33,7 +33,7 @@ case "$1" in fi dictdpid=`${CAT} $DICTD_PID_FILE` if [ "$dictdpid" -gt 0 ]; then - ${ECHO} "Stopping the dictd server." + ${ECHO} -n " dictd" ${KILL} -15 $dictdpid 2>&1 > /dev/null fi ${RM} -f $DICTD_PID_FILE |