cleaner way to create group

parent f5a2fca0
......@@ -7,10 +7,9 @@ set -e
case "$1" in
addgroup --force-badname _kea
adduser --force-badname --quiet --system --home /var/lib/kea \
--shell /bin/false --no-create-home --disabled-password --disabled-login \
--gecos "Kea DHCP User" _kea >/dev/null || exit 1
--gecos "Kea DHCP User" --group _kea >/dev/null || exit 1
for d in /var/log/kea /var/lib/kea; do
if ! dpkg-statoverride --list $d >/dev/null 2>&1; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment