summaryrefslogtreecommitdiff
path: root/templates/interfaces/l2tpv3/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces/l2tpv3/node.def')
-rw-r--r--templates/interfaces/l2tpv3/node.def8
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/interfaces/l2tpv3/node.def b/templates/interfaces/l2tpv3/node.def
index 0b06bdaf..1cb12166 100644
--- a/templates/interfaces/l2tpv3/node.def
+++ b/templates/interfaces/l2tpv3/node.def
@@ -27,14 +27,6 @@ begin:
fi
create:
- WAIT_COUNT=$VAR(./wait/@)
- if [ $WAIT_COUNT != 0 ]; then
- for i in `seq 1 $VAR(./wait/@)`
- do
- ping -c 1 $VAR(./remote-ip/@) > /dev/null 2>&1 && break
- sleep 1
- done
- fi
ip l2tp add tunnel tunnel_id $VAR(./tunnel-id/@) \
peer_tunnel_id $VAR(./peer-tunnel-id/@) \
udp_sport $VAR(./source-port/@) \