1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-17 04:33:59 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
pmelange
680f968bca update tunneldigger files to add hotplug functionality
An issue arrises when a router is not connected to a wan and only meshes.
The wan is not connected to anything, yet tunneldigger tries to make a
connection anyhow.  To aviod this, the init script has been modified
to _not_ make tunnels when they are configured with the bind_interface
option.  Additionally, a hotplug script has been created to create
and destroy tunnels on demand as the interfaces go up and down.  The
hoplug script only works with tunnels configured with the bind_interface
option.

More info at https://github.com/freifunk-berlin/firmware/issues/606

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-10-24 11:33:30 +02:00
pmelange
4d8e5f2534 tunneldigger.init: add support for multiple tunneldigger sections
The init script was not successfully starting tunneldigger when there
were multiple tunneldigger sections specified in the config file.  The
config_cb has been substitued with a handle_td function which is called
with a config_foreach, thereby simplifying the script.

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-10-09 11:42:18 +02:00
Cyrus Fox
f8ec44d6aa tunneldigger: move package to correct subfolder 2016-12-12 16:38:27 +01:00