14 lines
270 B
Bash
14 lines
270 B
Bash
#!/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 --quiet --ingroup uuidd \
|
|
--home /run/uuidd --no-create-home \
|
|
uuidd
|
|
fi
|
|
|
|
#DEBHELPER#
|