From 8e573e86ef29a5e6a7246258e6a3bb5f22685d6c Mon Sep 17 00:00:00 2001 From: kueller Date: Tue, 28 Apr 2009 17:01:59 +0000 Subject: [PATCH] Fehler in den IF abfragen -> korrigiert git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_nagos@4647 504e572c-2e33-0410-9681-be2bf7408885 --- tmp/postinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmp/postinstall b/tmp/postinstall index 59b01ca..d9242ed 100644 --- a/tmp/postinstall +++ b/tmp/postinstall @@ -1,9 +1,9 @@ #!/bin/bash -if [ ! getent passwd nagios 2>&1 >/dev/null ]; then +if ! getent passwd nagios 2>&1 >/dev/null; then useradd -u 52 nagios >/dev/null 2>/dev/null fi -if [ ! getent group nobody 2>&1 >/dev/null ]; then +if ! getent group nobody 2>&1 >/dev/null; then groupadd -g 65534 nobody >/dev/null 2>/dev/null fi