#!/bin/bash

# Wrapper script for lps functionality.  The implemenation within SAOS is
# called via the lps_full command.  If this fails, then the script falls
# back to calling lps_safe (less information).

/tmp/bin/lps_full

if [ "$?" -ne "0" ] ; then
    echo "Falling back to lps_safe (OSEProc and PRI will not be displayed)."
    /ciena/scripts/lps_safe
fi
