blob: 5372277bbc0664da0758bbb6d9ba3bd267b58ee0 (
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 at 2>/dev/null
fi
if [ -z `echo " $(groups at) " | grep ' at '`] ; then
addgroup at at 2>/dev/null
fi
exit 0
|