mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #125 from ukleinek/iodine
net/iodine: config updates
This commit is contained in:
@@ -9,8 +9,12 @@ start_instance () {
|
|||||||
config_get password "$section" 'password'
|
config_get password "$section" 'password'
|
||||||
config_get tunnelip "$section" 'tunnelip'
|
config_get tunnelip "$section" 'tunnelip'
|
||||||
config_get tld "$section" 'tld'
|
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() {
|
start() {
|
||||||
|
|||||||
Reference in New Issue
Block a user