9155ea97 MW |
1 | #! /bin/sh |
2 | |
3 | set -e |
4 | getent group fwd >/dev/null || addgroup --system fwd |
5 | getent passwd fwd >/dev/null || { |
6 | adduser --system --ingroup fwd --home / fwd |
7 | usermod -c "Port forwarding daemon" -s /bin/false -g fwd -G fwd fwd |
8 | } |
9 | |
10 | #DEBHELPER# |