Mercurial > hg > quicktun
annotate debian/static/DEBIAN/postinst @ 38:d9f5caa13898
Added support for NetBSD, added command line parsing to provide configuration options
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Mon, 06 May 2013 22:53:20 +0200 |
parents | 640f620a55cf |
children |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 if [ "$1" = "configure" ]; then | |
9
640f620a55cf
Bugfixes for floating remote and debian upgrade
Ivo Smits <Ivo@UCIS.nl>
parents:
0
diff
changeset
|
3 if ! getent passwd quicktun >/dev/null; then |
640f620a55cf
Bugfixes for floating remote and debian upgrade
Ivo Smits <Ivo@UCIS.nl>
parents:
0
diff
changeset
|
4 /usr/sbin/useradd -d /nonexistent -N -r -s /bin/false -g nogroup quicktun |
640f620a55cf
Bugfixes for floating remote and debian upgrade
Ivo Smits <Ivo@UCIS.nl>
parents:
0
diff
changeset
|
5 fi |
0 | 6 fi |