#! /bin/sh
# Should come after CD eject.
set -e
. /usr/share/debconf/confmodule

case "$(archdetect)" in
    # SGI mips is already handled by arcboot-installer
    mips/*-ip??) exit 0 ;;
    *) : ;;
esac

db_capb backup
db_input critical finish-install/reboot_in_progress || [ $? -eq 30 ]
if ! db_go; then
	# abort
	db_progress STOP
	exit 10
fi
