Avaya Writing Technician Interface Scripts Manuel d'utilisateur Page 107

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 106
Sample Scripts
308660-14.00 Rev 00
A-33
#
# Enable circuit...
#
:FI_ENBLC:
if $# != 3 then ; goto :FI_HELP_ENBL:
instenv list_ wfFddiEntry
if $list_0 = 0 then; goto :FI_ENBLNF:
setenv matchcct “$3”
if “$matchcct” = “” then ; goto :FI_END:
let i = 1
# Search for circuit with matching name
:FI_ENBLLP:
on error :FI_ENBLNXT:
if $i > $list_0 then; goto :FI_ENBLNF:
let cctnum = $(wfFddiEntry.wfFDDICct.${list_[$i]})
gosub :GETCCTNAME:
if -ic “$matchcct” != “$cctname” then ; goto :FI_ENBLNXT:
# Found it!
set wfFddiEntry.wfFDDIEnable.${list_[$i]} 1
echo “FDDI circuit $cctname enabled.”
commit
goto :FI_END:
:FI_ENBLNXT:
let i = $i + 1
goto :FI_ENBLLP:
:FI_ENBLNF:
echo “FDDI circuit $3 not found.”
goto :FI_END:
#
# Enable connector...
#
Vue de la page 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 115 116

Commentaires sur ces manuels

Pas de commentaire