view 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
line wrap: on
line source

#!/bin/sh
if [ "$1" = "configure" ]; then
	if ! getent passwd quicktun >/dev/null; then
		/usr/sbin/useradd -d /nonexistent -N -r -s /bin/false -g nogroup quicktun
	fi
fi