Using commands with clogin that require confirmation
jeekay at gmail.com
Mon Oct 3 15:09:00 UTC 2005
I am trying to script (using clogin) various commands, one of which is
'clear counters'. This unfortunately requires a confirmation that
doesn't appear to be disableable.
Is there any way to force clogin to, fx, wait 1 second, hit enter, and
_then_ expect the prompt again? I've tried various combinations of -c
'clear count;;' but it doesn't seem to send anything until it has seen
a new prompt.
More information about the Rancid-discuss