~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename entire project from `fw' to `fwd'.
[fwd]
/
debian
/
fwd.postinst
diff --git a/debian/fwd.postinst
b/debian/fwd.postinst
new file mode 100644
(file)
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#