#!/bin/sh

# This script is called if the guardian is about to reboot the system.

source /ciena/scripts/paramApi.sh

# FIX THIS - this is a hack so that saparam will not think that
#            the SAOS server instance is running.  A force option
#            on the saparam command would be a better way of doing
#            this.
#
LEOS_PID_FILE=/tmp/fifo/leos/LEOS_IPC_PID
rm -f $LEOS_PID_FILE

saparam swrite $ParamType_LastResetReason $ResetReason_Guardian
