|
@@ -9,8 +9,12 @@ start_instance () {
|
9
|
9
|
config_get password "$section" 'password'
|
10
|
10
|
config_get tunnelip "$section" 'tunnelip'
|
11
|
11
|
config_get tld "$section" 'tld'
|
|
12
|
+ config_get port "$section" 'port'
|
12
|
13
|
|
13
|
|
- service_start /usr/sbin/iodined -l "$address" -P "$password" "$tunnelip" "$tld"
|
|
14
|
+ test -n "$address" || address='0.0.0.0'
|
|
15
|
+ test -n "$port" || port='53'
|
|
16
|
+
|
|
17
|
+ service_start /usr/sbin/iodined -l "$address" -P "$password" -p "$port" "$tunnelip" "$tld"
|
14
|
18
|
}
|
15
|
19
|
|
16
|
20
|
start() {
|