#!/bin/sh

po_domain="alterator-tc-update"
alterator_api_version=1

. alterator-sh-functions
. shell-config

LOG="/tmp/alterator-tc-update.log"

on_message() {
    case "$in_action" in
        read)
            ;;
        write)
            case "$in__objects" in
                /)
                    echo "$(date): system going to update mode" >> "$LOG"
                    init 1
                    ;;
            esac
            ;;
        list)
            ;;
    esac
}

message_loop
