#!/bin/sh

po_domain="alterator-livecd"
alterator_api_version=1

. alterator-sh-functions

on_message() {
  case "$in_action" in
    write)
	# update /etc/fstab after installation
	service livecd-fstab start >&2 ||:
	# resurrect fixed mount points at the end of installer work
	mount -a
	# turn on swap again
	swapon -a
	;;
  esac
}

message_loop
