diff options
author | sf <sf@FreeBSD.org> | 2001-01-23 22:43:49 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-01-23 22:43:49 +0800 |
commit | 621672174d9fea4e478e08efd5cd04f49b7aa483 (patch) | |
tree | 089850465704a3b87e98c96bc98543a54097e6ce /databases | |
parent | 9d9912b7cba45620b4f32fc0db85181051196554 (diff) | |
download | freebsd-ports-gnome-621672174d9fea4e478e08efd5cd04f49b7aa483.tar.gz freebsd-ports-gnome-621672174d9fea4e478e08efd5cd04f49b7aa483.tar.zst freebsd-ports-gnome-621672174d9fea4e478e08efd5cd04f49b7aa483.zip |
fix typo and correctly installing startup script.
PR: 21422,21448
Reported by: Vivek Khera <khera@kciLink.com>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/msql/Makefile | 4 | ||||
-rw-r--r-- | databases/msql/files/msql2.sh | 4 | ||||
-rw-r--r-- | databases/msql3/Makefile | 4 | ||||
-rw-r--r-- | databases/msql3/files/msql2.sh | 4 |
4 files changed, 8 insertions, 8 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 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 |