#!/bin/sh -e
#
# Executed using the post-base-installer hooks after the base system
# is installed, and before most packages are installed.  APT is
# only using packages on the CD/DVD at this point.

log() { logger -t debian-edu-install/post-base-installer "$@"; }
error() { log "error: $*"; }

at_exit() {
    error "script $0 terminated unexpectedly."
}
disable_exception() { trap - INT TERM EXIT; }
trap at_exit INT TERM EXIT

# ...

disable_exception
exit 0
