forked from DGNum/liminix
handle case when ppp0 eists but is down
This commit is contained in:
parent
f0024dcac5
commit
4bfba33170
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ while { $FINISHED < 5 } {
|
||||||
expect {
|
expect {
|
||||||
"192.168.100.1" { set FINISHED 10; set EXIT 0; }
|
"192.168.100.1" { set FINISHED 10; set EXIT 0; }
|
||||||
"can't find device" { send_user "waiting ..." ; send "\r\n"; sleep 3 }
|
"can't find device" { send_user "waiting ..." ; send "\r\n"; sleep 3 }
|
||||||
|
"DOWN" { send_user "waiting ..." ; send "\r\n"; sleep 2 }
|
||||||
}
|
}
|
||||||
set FINISHED [ expr $FINISHED + 1 ]
|
set FINISHED [ expr $FINISHED + 1 ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue