
Writing Technician Interface Scripts
A-32
308660-14.00 Rev 00
:FI_HWF:
setenv RUN_SILENT 1
on error :FI_HANDLER:
run hwfilter show fddi
goto :FI_END:
:FI_HANDLER:
echo “Script hwfilter.bat not found.”
echo
goto :FI_END:
################################################################
#
# Parse for “enable” command...
#
################################################################
:FI_ENBL:
if $# = 1 then ; goto :FI_HELP_ENBL:
setenv cmd “$2”
let len = strlen(cmd)
if $len < 3 then ; goto :FI_HELP_ENBL:
let i = strindex(“circuit”, cmd)
if $i = 1 then ; goto :FI_ENBLC:
let i = strindex(“connector”, cmd)
if $i = 1 then ; goto :FI_ENBLI:
:FI_HELP_ENBL:
echo “FDDI Enable Command Help”
echo “------------------------”
echo
echo “enable fddi <option>”
echo “ Where option is one of the following:”
echo “ ?”
echo “ circuit <circuit name>”
echo “ connector <slot.connector>”
goto :FI_END:
Commenti su questo manuale