Avaya Writing Technician Interface Scripts Uživatelský manuál Strana 108

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 116
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 107
Writing Technician Interface Scripts
A-34
308660-14.00 Rev 00
:FI_ENBLI:
if $# != 3 then ; goto :FI_HELP_ENBL:
# Sanity check <slot.connector> parameter...
if “$ver” < “x7.80” then; goto :SKIP_STRPBRK1:
setenv teststr “ABCDEFGHIJKLMNOPQRSTUVWXYZ”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
setenv teststr “abcdefghijklmnopqrstuvwxyz”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
setenv teststr “!@#%^&*()_-=+\|`~[{]}';:/?,<>”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
:SKIP_STRPBRK1:
let firstdot = strindex(“$3”, “.”)
if $firstdot = 0 then ; goto :FIEN_MSG2_HELP:
let lastdot = strrindex(“$3”, “.”)
if $firstdot != $lastdot then ; goto :FIEN_MSG3_HELP:
if $?(wfFddiEntry.wfFDDIEnable.$3) = 0 then ; goto :FI_ENBLIE:
set wfFddiEntry.wfFDDIEnable.$3 1
echo “FDDI connector $3 enabled.”
commit
goto :FI_END:
:FI_ENBLIE:
echo “FDDI connector $3 not found.”
goto :FI_END:
:FIEN_MSG1_HELP:
gosub :ERR_MSG1:
goto :FI_HELP_ENBL:
:FIEN_MSG2_HELP:
gosub :ERR_MSG2:
goto :FI_HELP_ENBL:
:FIEN_MSG3_HELP:
gosub :ERR_MSG3:
goto :FI_HELP_ENBL:
Zobrazit stránku 107

Komentáře k této Příručce

Žádné komentáře