diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-10-14 08:24:47 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-10-14 08:24:47 +0200 |
commit | 6242598051fc9a95b530f719ff65a284ddafc6b5 (patch) | |
tree | 26b5ff15faaea9e550109c44664a90dd8a684dec /extra/postgresql/nutyx-01.patch | |
parent | 5ea8ad8e2a806c979d411e07bb82519d5dd7cde2 (diff) | |
download | nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.tar.gz nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.tar.bz2 nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.tar.xz nutyx-pakxe-6242598051fc9a95b530f719ff65a284ddafc6b5.zip |
postgresql, port nettoyé
Diffstat (limited to 'extra/postgresql/nutyx-01.patch')
-rw-r--r-- | extra/postgresql/nutyx-01.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/extra/postgresql/nutyx-01.patch b/extra/postgresql/nutyx-01.patch deleted file mode 100644 index a1b1585d9..000000000 --- a/extra/postgresql/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..." |