search for: match_max

Displaying 3 results from an estimated 3 matches for "match_max".

2013 Jul 18
1
if /else in expect script
...end_user "\n" set username $expect_out(1,string) stty -echo send_user -- "Please enter your passwd: " expect_user -re "(.*)\n" send_user "\n" set passwd $expect_out(1,string) set timeout -1 spawn ssh -t $host {sudo -S cp /etc/sudoers /tmp/sudoers-template} match_max 100000 expect -exact "\[sudo\] password for $username: " send -- "$passwd\r" expect eof set timeout -1 spawn ssh -t $host {sudo -S rm -f /tmp/sudoers.tmp} match_max 100000 expect eof set timeout -1 spawn ssh -t $host {sudo -S echo '%tekmark_t1 ALL=(root) NOPASSWD: /sbin/s...
2013 Jul 19
2
9.2PRERELEASE ZFS panic in lzjb_compress
...6b30, rbp = 0 --- lzjb_compress+0x185 corresponds to line 85 in 80 cpy = src - offset; 81 if (cpy >= (uchar_t *)s_start && cpy != src && 82 src[0] == cpy[0] && src[1] == cpy[1] && src[2] == cpy[2]) { 83 *copymap |= copymask; 84 for (mlen = MATCH_MIN; mlen < MATCH_MAX; mlen++) 85 if (src[mlen] != cpy[mlen]) 86 break; 87 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | 88 (offset >> NBBY); 89 *dst++ = (uchar_t)offset; I think it's the first time I've seen this panic. It happened while doing a send/receive. I have two pools with lzjb...
2004 Jan 17
0
Remote reloading Cisco phones...
Here's a simple small expect script ... I call it "phreboot", usage: phreboot IP $ phreboot 10.99.1.1 -- cut here -- #!/usr/bin/expect -f set timeout -1 spawn $env(SHELL) match_max 10000 send -- "telnet [lrange $argv 0 0]\r" expect -exact "word :" send -- "cisco\r" expect -exact "Phone> " send -- "reset\r" send -- ""