Книга: Linux Network Administrator Guide, Second Edition

Alternates

Alternates

Sometimes you want to have multiple entries for a single system, for instance if the system can be reached on different modem lines. With Taylor UUCP, you can do this by defining a so-called alternate.

An alternate entry retains all settings from the main system entry and specifies only those values that should be overridden in the default system entry or added to it. An alternate is offset from the system entry by a line containing the keyword alternate.

To use two phone numbers for pablo, you would modify its sys entry in the following way:

system       pablo
phone        123-456
.. entries as above ...
alternate
phone        123-455

system pablo phone 123-456… entries as above… alternate phone 123-455

When calling pablo, uucico will first dial 123-456, and if this fails, it will try the alternate. The alternate entry retains all settings from the main system entry and overrides the telephone number only.

Оглавление книги


Генерация: 1.496. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз