diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-04-12 11:10:40 -0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-04-12 11:10:40 -0700 |
commit | 82751a194da77e0e1de3c20229bad123a0b982bd (patch) | |
tree | 33dc2ea8a1c765eafd1de6a3989c3fabc78153f6 /templates/interfaces/l2tpv3 | |
parent | 8ae087c9c6925c44228d2f4ae7b5ea0ee671317a (diff) | |
download | vyatta-cfg-system-82751a194da77e0e1de3c20229bad123a0b982bd.tar.gz vyatta-cfg-system-82751a194da77e0e1de3c20229bad123a0b982bd.zip |
Bug #170: Remove "wait" option.
Diffstat (limited to 'templates/interfaces/l2tpv3')
-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) |