The SCRIPT lines are used to accomplish simple scripting. These
lines consist of three parts: the expected prompt, the appropriate
response, and the time to wait in seconds. In the example above
ppp would wait 20 seconds for the "Host Name:" prompt. If it gets
the prompt it will reply with "CIS\r". The "\r" tells ppp to issue
a carriage return. If ppp doesn't see the "Host Name:" prompt for
20 seconds it will go ahead and issue the "CIS\r" response and
continue to the next script line.
lines consist of three parts: the expected prompt, the appropriate
response, and the time to wait in seconds. In the example above
ppp would wait 20 seconds for the "Host Name:" prompt. If it gets
the prompt it will reply with "CIS\r". The "\r" tells ppp to issue
a carriage return. If ppp doesn't see the "Host Name:" prompt for
20 seconds it will go ahead and issue the "CIS\r" response and
continue to the next script line.
<< Home