aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server/files
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-11-16 18:29:06 +0800
committerdirk <dirk@FreeBSD.org>2000-11-16 18:29:06 +0800
commit654f6517149ae64e313bf8fa126dae2c12e4e67c (patch)
treedcc84b25f4a34770d24de56cfce13107f3213b14 /databases/mysql60-server/files
parent20c8f3b568078ff6cb2daa601d771a9b1efaed25 (diff)
downloadfreebsd-ports-gnome-654f6517149ae64e313bf8fa126dae2c12e4e67c.tar.gz
freebsd-ports-gnome-654f6517149ae64e313bf8fa126dae2c12e4e67c.tar.zst
freebsd-ports-gnome-654f6517149ae64e313bf8fa126dae2c12e4e67c.zip
Move mysql-client.sh from Makefile to files/mysql-client.sh
and add a start/stop parameter to satisfy rc.shutdown.
Diffstat (limited to 'databases/mysql60-server/files')
-rw-r--r--databases/mysql60-server/files/mysql-client.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/mysql60-server/files/mysql-client.sh b/databases/mysql60-server/files/mysql-client.sh
new file mode 100644
index 000000000000..bef414c12ed2
--- /dev/null
+++ b/databases/mysql60-server/files/mysql-client.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ /sbin/ldconfig -m %%PREFIX%%/lib/mysql
+ ;;
+ stop)
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac