diff options
-rw-r--r-- | templates/interfaces/l2tpv3/node.def | 8 | ||||
-rw-r--r-- | templates/interfaces/l2tpv3/node.tag/wait/node.def | 6 |
2 files changed, 0 insertions, 14 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/@) \ diff --git a/templates/interfaces/l2tpv3/node.tag/wait/node.def b/templates/interfaces/l2tpv3/node.tag/wait/node.def deleted file mode 100644 index b308aca3..00000000 --- a/templates/interfaces/l2tpv3/node.tag/wait/node.def +++ /dev/null @@ -1,6 +0,0 @@ -help: Wait count -type: u32 -default: 0 -syntax:expression: ($VAR(@) >= 0 && $VAR(@) <= 300) ; "must be in the range 0 to 300 seconds" - -val_help: u32:0-300 wait (default 0) |