#This variable may be initialized when the script is installed in the spooler.

PERIPH= if (“SPERIPH”=““) then

PERIPH=SMODEL

fi

#Path for output of the original model

TMPPATH=/tmp/SMODEL.data

#invoke original model and write to temporary file $REALMODEL “$@"TMPPATH

#Log in to peripheral switch to binary and send the temporary file

( echo user xx echo binary

echo put $TMPPATH echo bye

1 ftp -i -n $PERIPH ERRSTAT=$? /bin/rm $TMPPATH exit $ERRSTAT

End of Script

5-14 Using UNIX