Avaya Writing Technician Interface Scripts Manual do Utilizador Página 111

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 110
Sample Scripts
308660-14.00 Rev 00
A-37
:FI_DSBLI:
if $# != 3 then ; goto :FI_HELP_DSBL:
# Sanity check <slot.connector> parameter...
if “$ver” < “x7.80” then; goto :SKIP_STRPBRK2:
setenv teststr “ABCDEFGHIJKLMNOPQRSTUVWXYZ”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIDS_MSG1_HELP:
setenv teststr “abcdefghijklmnopqrstuvwxyz”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIDS_MSG1_HELP:
setenv teststr “!@#%^&*()_-=+\|`~[{]}';:/?,<>”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIDS_MSG1_HELP:
:SKIP_STRPBRK2:
let firstdot = strindex(“$3”, “.”)
if $firstdot = 0 then ; goto :FIDS_MSG2_HELP:
let lastdot = strrindex(“$3”, “.”)
if $firstdot != $lastdot then ; goto :FIDS_MSG3_HELP:
if $?(wfFddiEntry.wfFDDIEnable.$3) = 0 then ; goto :FI_DSBLIE:
set wfFddiEntry.wfFDDIEnable.$3 2
echo “FDDI connector $3 disabled.”
commit
goto :FI_END:
:FI_DSBLIE:
echo “FDDI connector $3 not found.”
goto :FI_END:
:FIDS_MSG1_HELP:
gosub :ERR_MSG1:
goto :FI_HELP_DSBL:
:FIDS_MSG2_HELP:
gosub :ERR_MSG2:
goto :FI_HELP_DSBL:
:FIDS_MSG3_HELP:
gosub :ERR_MSG3:
goto :FI_HELP_DSBL:
Vista de página 110

Comentários a estes Manuais

Sem comentários