#!/bin/sh set -e case "$1" in configure) a2enmod proxy || true a2ensite llixhoot || true service apache2 restart || true MAGIC_KEY=$(cat /etc/n4d/key) n4d-client -h localhost -k $MAGIC_KEY -m set_internal_dns_entry -c Dnsmasq -a llixhoot || true service dnsmasq restart || true mkdir -p /var/www/lliurex-www/links/ 2>/dev/null ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) exit 1 ;; esac #DEBHELPER# exit 0