~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix crash on discarding packets
[hippotat]
/
debian
/
hippotat.postinst
diff --git
a/debian/hippotat.postinst
b/debian/hippotat.postinst
index
b406e55
..
7954152
100644
(file)
--- a/
debian/hippotat.postinst
+++ b/
debian/hippotat.postinst
@@
-1,6
+1,13
@@
#!/bin/sh
set -e
#!/bin/sh
set -e
-mkdir -p -m700 /etc/hippotat
+
adduser --system --group --force-badname --shell=/bin/bash \
adduser --system --group --force-badname --shell=/bin/bash \
- --home /etc/hippotat Debian-hippotat
+ --quiet --home /etc/hippotat Debian-hippotat
+
+umask 077
+
+pd=/etc/hippotat/passwords.d
+test -d $pd || \
+install -m 750 -o root -g Debian-hippotat -d $pd
+
#DEBHELPER#
#DEBHELPER#