diff options
author | piernov <piernov@piernov.org> | 2012-01-24 01:19:29 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-13 16:21:58 +0200 |
commit | 7ad48fd95ed3cfcd9927ffb0b7d1559588c705bb (patch) | |
tree | c86bcc9bc7ae15695379779373a3288ae0d66f72 /libpostgresql/nutyx-01.patch | |
parent | d06c7f54e6a8ce87a4f085fedda9e5065f6bbbaa (diff) | |
download | nutyx-extra-7ad48fd95ed3cfcd9927ffb0b7d1559588c705bb.tar.gz nutyx-extra-7ad48fd95ed3cfcd9927ffb0b7d1559588c705bb.tar.bz2 nutyx-extra-7ad48fd95ed3cfcd9927ffb0b7d1559588c705bb.tar.xz nutyx-extra-7ad48fd95ed3cfcd9927ffb0b7d1559588c705bb.zip |
libpostgresql 9.1.2-1 màj port
(cherry picked from commit ffafdb97fe50a37bc5b8b13aeb7cf5e669919096)
Diffstat (limited to 'libpostgresql/nutyx-01.patch')
-rw-r--r-- | libpostgresql/nutyx-01.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libpostgresql/nutyx-01.patch b/libpostgresql/nutyx-01.patch deleted file mode 100644 index a1b1585d9..000000000 --- a/libpostgresql/nutyx-01.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- blfs-bootscripts-20090302/blfs/init.d/postgresql.original 2010-01-20 20:34:28.000000000 +0000 -+++ blfs-bootscripts-20090302/blfs/init.d/postgresql 2010-01-20 20:37:49.000000000 +0000 -@@ -10,6 +10,18 @@ - . /etc/sysconfig/rc - . $rc_functions - -+newgroup=postgres -+newuser=postgres -+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 "PostgreSQL Server" $newuser -+ - case "$1" in - start) - boot_mesg "Starting PostgreSQL daemon..." |