diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-01-23 14:43:49 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-01-23 14:43:49 +0000 |
commit | 8c7f022063698dfe51aab6c12c6781bbba0cb2b3 (patch) | |
tree | 4c6a1a32944229cb8c471005d453d0530bba278c /databases/msql | |
parent | 5dae44277e192bbd7e5c7928b9da84b7ac9e665c (diff) | |
download | ports-8c7f022063698dfe51aab6c12c6781bbba0cb2b3.tar.gz ports-8c7f022063698dfe51aab6c12c6781bbba0cb2b3.zip |
fix typo and correctly installing startup script.
PR: 21422,21448
Reported by: Vivek Khera <khera@kciLink.com>
Notes
Notes:
svn path=/head/; revision=37491
Diffstat (limited to 'databases/msql')
-rw-r--r-- | databases/msql/Makefile | 4 | ||||
-rw-r--r-- | databases/msql/files/msql2.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/databases/msql/Makefile b/databases/msql/Makefile index 43de4df8e39e..2388bfe5cbd6 100644 --- a/databases/msql/Makefile +++ b/databases/msql/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/msql/files/msql2.sh b/databases/msql/files/msql2.sh index 4f9ff5c87c16..b6aa3f232519 100644 --- a/databases/msql/files/msql2.sh +++ b/databases/msql/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 |