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