From 8c7f022063698dfe51aab6c12c6781bbba0cb2b3 Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Tue, 23 Jan 2001 14:43:49 +0000 Subject: fix typo and correctly installing startup script. PR: 21422,21448 Reported by: Vivek Khera --- databases/msql3/Makefile | 4 ++-- databases/msql3/files/msql2.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'databases/msql3') diff --git a/databases/msql3/Makefile b/databases/msql3/Makefile index 43de4df8e39e..2388bfe5cbd6 100644 --- a/databases/msql3/Makefile +++ b/databases/msql3/Makefile @@ -44,8 +44,8 @@ post-install: @${MKDIR} ${PREFIX}/etc/rc.d @if [ ! -f ${PREFIX}/etc/rc.d/msql2.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/msql2.sh startup file."; \ - ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/msql2d.sh \ - ${PREFIX}/etc/rc.d/msql2d.sh; \ + ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/msql2.sh \ + ${PREFIX}/etc/rc.d/msql2.sh; \ fi .if !defined(BATCH) @ /usr/bin/more -e ${FILESDIR}/post-install-notes diff --git a/databases/msql3/files/msql2.sh b/databases/msql3/files/msql2.sh index 4f9ff5c87c16..b6aa3f232519 100644 --- a/databases/msql3/files/msql2.sh +++ b/databases/msql3/files/msql2.sh @@ -7,10 +7,10 @@ fi case "$1" in start) - [ -x ${PREFIX}/bin/msql2d ] && su -l msql -c 'exec ${PREFIX}/bin/msql2d' > /dev/null 2>&1 & && echo -n ' msql2' + [ -x ${PREFIX}/bin/msql2d ] && su -l msql -c "exec ${PREFIX}/bin/msql2d" > /dev/null 2>&1 & && echo -n ' msql2' ;; stop) - killall msql2d && echo -n ' msql2d' + killall msql2d && echo -n ' msql2d' && rm -f ${PREFIX}/etc/msql2/msql2d.pid ;; *) echo "Usage: `basename $0` {start|stop}" >&2 -- cgit v1.2.3