diff options
Diffstat (limited to 'testing/at/at.pre-install')
-rw-r--r-- | testing/at/at.pre-install | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/testing/at/at.pre-install b/testing/at/at.pre-install index a35aa484c9..e3c28ec898 100644 --- a/testing/at/at.pre-install +++ b/testing/at/at.pre-install @@ -1,16 +1,7 @@ #!/bin/sh -if ! getent group at >/dev/null; then - addgroup -S at 2>/dev/null -fi - -if ! getent passwd at >/dev/null; then - adduser -S -H -s /bin/false -D -g at at 2>/dev/null -fi - -if [ -z `echo " $(groups at) " | grep ' at '`] ; then - addgroup at at 2>/dev/null -fi +addgroup -S at 2>/dev/null +adduser -S -H -s /bin/false -D -g at at 2>/dev/null +addgroup at at 2>/dev/null exit 0 - |