+ } elsif ( $buff =~ s{\QThis command will reset the whole system and disconnect your current session.\E}{}s ) { # reload
+ warn "\nRELOAD detected\n";
+ sleep 0.5;
+ send_pty 'y';
+ } elsif ( $buff =~ m{MikroTik RouterOS} ) {
+ warn "\nERROR: don't know how to talk to MicroTik - ABORTING";
+ exit 0;