#!/bin/sh

set -e

case "$1" in
    configure)
	if ! getent group netaid > /dev/null; then
		addgroup --quiet --system netaid || true
	fi
	mkdir -p /run/netaid
	chmod 0755 /run/netaid
	;;

    abort-upgrade|abort-remove|abort-deconfigure)
	;;

    *)
	echo "postinst called with unknown argument \`$1'" >&2
	exit 1
esac

#DEBHELPER#

exit 0
