Browse Source

net/iodine: make address config optional

In the absense of an address entry bind to all interfaces which is also
iodined's default when -l isn't given.

Signed-off-by: Uwe Kleine-König <uwe+openwrt@kleine-koenig.org>
lilik-openwrt-22.03
Uwe Kleine-König 10 years ago
parent
commit
a66f9e8854
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/iodine/files/iodined.init

+ 1
- 0
net/iodine/files/iodined.init View File

@ -11,6 +11,7 @@ start_instance () {
config_get tld "$section" 'tld' config_get tld "$section" 'tld'
config_get port "$section" 'port' config_get port "$section" 'port'
test -n "$address" || address='0.0.0.0'
test -n "$port" || port='53' test -n "$port" || port='53'
service_start /usr/sbin/iodined -l "$address" -P "$password" -p "$port" "$tunnelip" "$tld" service_start /usr/sbin/iodined -l "$address" -P "$password" -p "$port" "$tunnelip" "$tld"


Loading…
Cancel
Save