Make start/stop messages consistent with other ports.

This commit is contained in:
Clive Lin 2004-02-17 09:51:18 +00:00
parent 56fb4687d0
commit c2e4f0f15f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101170

View file

@ -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