#!/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. . /usr/share/debconf/confmodule log() { logger -t debian-edu-install/post-base-installer "$@"; } info() { log "info: $*"; } error() { log "error: $*"; } at_exit() { error "script $0 terminated unexpectedly." } disable_exception() { trap - INT TERM EXIT; } trap at_exit INT TERM EXIT # Try here, in case the eatmydata package is available on the ISO or # we are installing via PXE. db_get debian-edu-install/quick-install if [ true = "$RET" ] ; then edu-eatmydata-install enable else info "not enabling quick install, preseed debian-edu-install/quick-install=true to change this." fi disable_exception exit 0