aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-08-14 00:14:07 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-08-14 00:14:07 +0000
commite2cd1247176376b58e8acf1f93c722c24604e6fe (patch)
treeff4bf125482f0b2c6b42821b5c9a47ffef380b71 /databases
parent8e92340f89af61a862a7618c6b57cb32eec69f22 (diff)
downloadports-e2cd1247176376b58e8acf1f93c722c24604e6fe.tar.gz
ports-e2cd1247176376b58e8acf1f93c722c24604e6fe.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/msql/files/msql2.sh5
-rw-r--r--databases/msql3/files/msql2.sh5
2 files changed, 8 insertions, 2 deletions
diff --git a/databases/msql/files/msql2.sh b/databases/msql/files/msql2.sh
index 54e0e7762406..9d2d6f3e9500 100644
--- a/databases/msql/files/msql2.sh
+++ b/databases/msql/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
diff --git a/databases/msql3/files/msql2.sh b/databases/msql3/files/msql2.sh
index 54e0e7762406..9d2d6f3e9500 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