#!/bin/sh -e . /usr/share/debconf/confmodule test $DEBIAN_SCRIPT_DEBUG && set -v -x case "$1" in install) ;; upgrade) ;; configure) # Do not do anything. In the past we setup samhain's database but # that would send a mail to root on installation and was determined # to be unwise (see Debian Bug #749602) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # Automatically added by dh_installinit/12.7.1 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -x "/etc/init.d/samhain" ]; then update-rc.d samhain defaults 19 >/dev/null invoke-rc.d samhain start || exit 1 fi fi # End automatically added section exit 0