lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit bc761570d41fb805d445c97047f899fc421cf535
parent b9f76a11e46adaa38b0937f5723786df82f744d1
Author: sbyx <steven@midlink.org>
Date:   Thu, 24 Jul 2014 14:25:56 +0200

Merge pull request #125 from ukleinek/iodine

net/iodine: config updates
Diffstat:
Mnet/iodine/files/iodined.init | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net/iodine/files/iodined.init b/net/iodine/files/iodined.init @@ -9,8 +9,12 @@ start_instance () { config_get password "$section" 'password' config_get tunnelip "$section" 'tunnelip' config_get tld "$section" 'tld' + config_get port "$section" 'port' - service_start /usr/sbin/iodined -l "$address" -P "$password" "$tunnelip" "$tld" + 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" } start() {