diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2000-04-02 22:15:13 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2000-04-02 22:15:13 +0000 |
commit | b96340db555018da241362d9e0c80edb3172cde8 (patch) | |
tree | bac471dfe1e48b6f08bcb03ec8e75a0baed37458 /databases/mysql41-server/files | |
parent | 78c8d55a477698136b3aba0f0d8c4a128cd73f09 (diff) | |
download | ports-b96340db555018da241362d9e0c80edb3172cde8.tar.gz ports-b96340db555018da241362d9e0c80edb3172cde8.zip |
Notes
Diffstat (limited to 'databases/mysql41-server/files')
-rw-r--r-- | databases/mysql41-server/files/mysql-server.sh | 18 | ||||
-rw-r--r-- | databases/mysql41-server/files/patch-ab | 16 |
2 files changed, 25 insertions, 9 deletions
diff --git a/databases/mysql41-server/files/mysql-server.sh b/databases/mysql41-server/files/mysql-server.sh new file mode 100644 index 000000000000..507a080ec911 --- /dev/null +++ b/databases/mysql41-server/files/mysql-server.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +case "$1" in + start) + if [ -x %%PREFIX%%/bin/safe_mysqld ]; then + %%PREFIX%%/bin/safe_mysqld --user=mysql > /dev/null & && echo -n ' mysqld' + fi + ;; + stop) + /usr/bin/killall mysqld > /dev/null 2>&1 && echo -n ' mysqld' + ;; + *) + echo "" + echo "Usage: `basename $0` { start | stop }" + echo "" + exit 1 + ;; +esac diff --git a/databases/mysql41-server/files/patch-ab b/databases/mysql41-server/files/patch-ab index 04825c3dc4b1..1fd66bbe0cad 100644 --- a/databases/mysql41-server/files/patch-ab +++ b/databases/mysql41-server/files/patch-ab @@ -1,17 +1,15 @@ ---- scripts/mysql_install_db.sh.orig Sat Aug 28 13:10:54 1999 -+++ scripts/mysql_install_db.sh Mon Sep 13 00:13:04 1999 -@@ -15,10 +15,6 @@ +--- scripts/mysql_install_db.sh.orig Wed Jan 12 21:06:30 2000 ++++ scripts/mysql_install_db.sh Sun Mar 26 23:20:27 2000 +@@ -15,8 +15,6 @@ force=0 IN_RPM=0 -# Are we doing an rpm install? -if test "$1" = "-IN-RPM"; then IN_RPM=1; shift; fi --if test "$1" = "--force"; then force=1; shift; fi -- + if test "$1" = "--force"; then force=1; shift; fi + # Get mysqld/safe_mysqld options from /etc/my.cnf or ~/.my.cnf - if test -w / - then -@@ -60,8 +56,6 @@ +@@ -60,8 +58,6 @@ fi fi @@ -20,7 +18,7 @@ hostname=`hostname` # Install this too in the user table # Check if hostname is valid -@@ -255,12 +249,6 @@ +@@ -255,12 +251,6 @@ END_OF_DATA then echo "" |