summaryrefslogtreecommitdiffstats
path: root/debian/uuid-runtime.postinst
blob: a8e2a319e25245a1614789e673de621bf9135e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

# add uuidd user/group if needed.
if ! getent group uuidd >/dev/null; then
	addgroup --system uuidd
fi
if ! getent passwd uuidd >/dev/null; then
	adduser --system --ingroup uuidd \
		--home /run/uuidd --no-create-home \
		uuidd
fi

#DEBHELPER#