diff options
author | Johannes Morgenroth <jm@m-network.de> | 2015-01-10 15:27:27 +0100 |
---|---|---|
committer | Johannes Morgenroth <jm@m-network.de> | 2015-01-10 17:30:57 +0100 |
commit | 111d3f9d846d9585d6b04c2437f61b5753ca3312 (patch) | |
tree | a94bd36975e1c9ac94d343ea5860858b691f8758 /net/ibrdtnd/files | |
parent | df34963277a78fbdb62c684cc012a31df26b5ac9 (diff) |
ibrdtnd: Updated to 1.0.0
Signed-off-by: Johannes Morgenroth <jm@m-network.de>
Diffstat (limited to 'net/ibrdtnd/files')
-rw-r--r-- | net/ibrdtnd/files/build-config.sh | 5 | ||||
-rw-r--r-- | net/ibrdtnd/files/ibrdtn.uci | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net/ibrdtnd/files/build-config.sh b/net/ibrdtnd/files/build-config.sh index 82f161cc5..c9a6128cd 100644 --- a/net/ibrdtnd/files/build-config.sh +++ b/net/ibrdtnd/files/build-config.sh @@ -116,6 +116,7 @@ add_param $CONFFILE "ibrdtn.dht.allow_neighbour_announcement" "dht_allow_neighbo # iterate through all network interfaces iter=0 netinterfaces= +netinternet= while [ 1 == 1 ]; do $UCI -q get "ibrdtn.@network[$iter]" > /dev/null if [ $? == 0 ]; then @@ -123,6 +124,9 @@ while [ 1 == 1 ]; do add_param $CONFFILE "ibrdtn.@network[$iter].type" "net_lan${iter}_type" add_param $CONFFILE "ibrdtn.@network[$iter].interface" "net_lan${iter}_interface" add_param $CONFFILE "ibrdtn.@network[$iter].port" "net_lan${iter}_port" + if [ "$(uci -q get ibrdtn.@network[$iter].global)" == "yes" ]; then + netinternet="${netinternet} $(uci -q get ibrdtn.@network[$iter].interface)" + fi else break fi @@ -132,6 +136,7 @@ done # write list of network interfaces echo "net_interfaces =$netinterfaces" >> $CONFFILE +echo "net_internet =${netinternet}" >> $CONFFILE # iterate through all static routes iter=0 diff --git a/net/ibrdtnd/files/ibrdtn.uci b/net/ibrdtnd/files/ibrdtn.uci index ab4504487..e02568180 100644 --- a/net/ibrdtnd/files/ibrdtn.uci +++ b/net/ibrdtnd/files/ibrdtn.uci @@ -109,6 +109,7 @@ config 'network' option type tcp option interface eth0 option port 4556 + option global yes #config 'network' # option type tcp |