summaryrefslogtreecommitdiffstats
path: root/test/mysql/mysql.nutyx.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-27 17:30:13 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-27 17:30:13 +0200
commit3bbede4b7f01b36dd98893db4b3daf985161579a (patch)
tree928d85ac0737fa81bb1c7c317e82ec6f589c078a /test/mysql/mysql.nutyx.patch
parenta717ad31d5f508804b49c9f5b9313af1b352c17a (diff)
downloadnutyx-extra-3bbede4b7f01b36dd98893db4b3daf985161579a.tar.gz
nutyx-extra-3bbede4b7f01b36dd98893db4b3daf985161579a.tar.bz2
nutyx-extra-3bbede4b7f01b36dd98893db4b3daf985161579a.tar.xz
nutyx-extra-3bbede4b7f01b36dd98893db4b3daf985161579a.zip
mysql dans test
Diffstat (limited to 'test/mysql/mysql.nutyx.patch')
-rw-r--r--test/mysql/mysql.nutyx.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/mysql/mysql.nutyx.patch b/test/mysql/mysql.nutyx.patch
new file mode 100644
index 000000000..cc1cdb43e
--- /dev/null
+++ b/test/mysql/mysql.nutyx.patch
@@ -0,0 +1,27 @@
+--- blfs-bootscripts-20090302/blfs/init.d/mysql 2005-08-01 19:29:19.000000000 +0000
++++ blfs-bootscripts-20090302/blfs/init.d/mysql.nutyx 2009-06-26 06:55:05.000000000 +0000
+@@ -5,11 +5,23 @@
+ # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
+
+ #$LastChangedBy: bdubbs $
+-#$Date: 2005-08-01 19:29:19 +0000 (Mon, 01 Aug 2005) $
++#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
+
+ . /etc/sysconfig/rc
+ . $rc_functions
+
++newgroup=mysql
++newuser=mysql
++newid=40
++
++# check for mysql group or add one
++getent group $newgroup > /dev/null || /usr/sbin/groupadd -g $newid $newgroup
++
++# check for mysql user or add one
++getent passwd $newuser > /dev/null || /usr/sbin/useradd -g $newgroup \
++-u $newid -d /dev/null \
++-s /bin/false -c "MySQL Server" $newuser
++
+ PIDFILE=/srv/mysql/`/bin/hostname`.pid
+ KILLDELAY=20
+