diff options
author | anders <anders@FreeBSD.org> | 2002-08-14 00:14:07 +0000 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-08-14 00:14:07 +0000 |
commit | b324d4c0e0a3cd3a459edc4775e4100652b8bb92 (patch) | |
tree | 3521d2e4b7ac09b8b05a8984b37213ed5228f76e /databases/msql3 | |
parent | 714c4e18805009109b98dcc2b7c97a817790758d (diff) | |
download | FreeBSD-ports-b324d4c0e0a3cd3a459edc4775e4100652b8bb92.zip FreeBSD-ports-b324d4c0e0a3cd3a459edc4775e4100652b8bb92.tar.gz |
Fix startup-scripts for -current /bin/sh issues.
Diffstat (limited to 'databases/msql3')
-rw-r--r-- | databases/msql3/files/msql2.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/msql3/files/msql2.sh b/databases/msql3/files/msql2.sh index 54e0e77..9d2d6f3 100644 --- a/databases/msql3/files/msql2.sh +++ b/databases/msql3/files/msql2.sh @@ -7,7 +7,10 @@ fi case "$1" in start) - [ -x ${PREFIX}/sbin/msql2d ] && su -f -l msql -c "exec ${PREFIX}/sbin/msql2d" > /dev/null 2>&1 & && echo -n ' msql2' + if [ -x ${PREFIX}/sbin/msql2d ]; then + su -f -l msql -c "exec ${PREFIX}/sbin/msql2d" > /dev/null 2>&1 & + echo -n ' msql2' + fi ;; stop) killall msql2d && echo -n ' msql2d' && rm -f ${PREFIX}/etc/msql2/msql2d.pid |