#!/bin/sh set -e case $1 in install|configure|upgrade) a2enmod ldap 2>/dev/null 1>/dev/null || true service apache2 restart ;; *) echo "[DEBUG] Unknow action ..." ;; esac #DEBHELPER# exit 0