aboutsummaryrefslogtreecommitdiffstats
path: root/testing/at/at.pre-install
blob: 058a9d0ca74c376a79f0f92fbec1469906689f93 (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 -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