blob: a35aa484c9c9ea5941104c0f5e306ca2390aab42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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
exit 0
|