summaryrefslogtreecommitdiffstats
path: root/extra/mysql/mysql.nutyx.patch
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 21:36:32 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 21:36:32 +0200
commit7b02100636047cb04b26346aafff821b1534ac5d (patch)
tree8c0b69435c03da492a1da8bb834ce84b38d610f3 /extra/mysql/mysql.nutyx.patch
parentdab196fcaa345c540435c7c668c22ddc1cdc8540 (diff)
downloadnutyx-extra-7b02100636047cb04b26346aafff821b1534ac5d.tar.gz
nutyx-extra-7b02100636047cb04b26346aafff821b1534ac5d.tar.bz2
nutyx-extra-7b02100636047cb04b26346aafff821b1534ac5d.tar.xz
nutyx-extra-7b02100636047cb04b26346aafff821b1534ac5d.zip
Ajout de mysql#5.1.36-1
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
+