summaryrefslogtreecommitdiffstats
path: root/extra/mysql/mysql.nutyx.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-01 16:38:59 +0200
commit484880add8dae9ada76769e0b16b9bca6c8b37b3 (patch)
tree4c0940cfdea596c1c1c797e3a753e065558aadee /extra/mysql/mysql.nutyx.patch
parent067c82d499d5bae2258698de65eeb3565664f516 (diff)
downloadnutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.gz
nutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.bz2
nutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.tar.xz
nutyx-extra-484880add8dae9ada76769e0b16b9bca6c8b37b3.zip
mysql dans extra
Diffstat (limited to 'extra/mysql/mysql.nutyx.patch')
-rw-r--r--extra/mysql/mysql.nutyx.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/mysql/mysql.nutyx.patch b/extra/mysql/mysql.nutyx.patch
new file mode 100644
index 000000000..cc1cdb43e
--- /dev/null
+++ b/extra/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
+