mirror of https://github.com/hak5/openwrt-owl.git
parent
a0a91963af
commit
4bd3f54143
|
@ -65,7 +65,7 @@ proto_6in4_setup() {
|
|||
local max=3
|
||||
|
||||
while [ $((++try)) -le $max ]; do
|
||||
( wget -qO/dev/null "$url" 2>/dev/null ) &
|
||||
( exec wget -qO/dev/null "$url" 2>/dev/null ) &
|
||||
local pid=$!
|
||||
( sleep 5; kill $pid 2>/dev/null ) &
|
||||
wait $pid && break
|
||||
|
|
Loading…
Reference in New Issue