summaryrefslogtreecommitdiff
path: root/debian/soledad-server.postinst
blob: 19a2b888665f5f650359f21176f52ad17c3daa75 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

export PATH=/bin:/usr/bin:/sbin:/usr/sbin

id soledad-admin > /dev/null
RET=$?

if [ ! $RET -eq 0 ]; then
	adduser --system soledad-admin --home /srv/leap/ --disabled-password --shell /bin/sh --ingroup nogroup
fi