X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/a542396b43f4217f5b76bf884ca1b9080dbd5cfa..9155ea97b695b6eb5fca1ee79f57b334f6c4ef53:/debian/fwd.postinst diff --git a/debian/fwd.postinst b/debian/fwd.postinst new file mode 100644 index 0000000..8fe153d --- /dev/null +++ b/debian/fwd.postinst @@ -0,0 +1,10 @@ +#! /bin/sh + +set -e +getent group fwd >/dev/null || addgroup --system fwd +getent passwd fwd >/dev/null || { + adduser --system --ingroup fwd --home / fwd + usermod -c "Port forwarding daemon" -s /bin/false -g fwd -G fwd fwd +} + +#DEBHELPER#