projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e09eeb
)
net/iodine: make address config optional
author
Uwe Kleine-König
<
[email protected]
>
Thu, 24 Jul 2014 07:31:54 +0000
(09:31 +0200)
committer
Uwe Kleine-König
<
[email protected]
>
Thu, 24 Jul 2014 07:56:09 +0000
(09:56 +0200)
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 <
[email protected]
>
net/iodine/files/iodined.init
patch
|
blob
|
history
diff --git
a/net/iodine/files/iodined.init
b/net/iodine/files/iodined.init
index 89f1825f160e88daa8fabfba800b20d4665db8a7..48dea619dcee3f6bd8362e28edb147b308338f08 100644
(file)
--- a/
net/iodine/files/iodined.init
+++ b/
net/iodine/files/iodined.init
@@
-11,6
+11,7
@@
start_instance () {
config_get tld "$section" 'tld'
config_get port "$section" 'port'
+ test -n "$address" || address='0.0.0.0'
test -n "$port" || port='53'
service_start /usr/sbin/iodined -l "$address" -P "$password" -p "$port" "$tunnelip" "$tld"