Commit 8f15a809 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lyskomd_start): Set the "Sync interval" to 1 day, so that it doesn't

	interfere with the tests.  Added a colon to the strings that
	base_config is checked against, so that parameters that are
	prefixes of other parameters are handled correctly.
parent 91250eb0
......@@ -537,15 +537,18 @@ proc lyskomd_start {{aux_item_conf_file ""} \
puts $cf "Client port: $clientport"
puts $cf "Prefix: [pwd]"
if { $base_config == "" } {
if { [regexp -nocase "Max conferences" $extra_config] == 0 } {
if { [regexp -nocase "Max conferences:" $extra_config] == 0 } {
puts $cf "Max conferences: 2000"
}
if { [regexp -nocase "Max texts" $extra_config] == 0 } {
if { [regexp -nocase "Max texts:" $extra_config] == 0 } {
puts $cf "Max texts: 20000"
}
if { [regexp -nocase "DNS log threshold" $extra_config] == 0 } {
if { [regexp -nocase "DNS log threshold:" $extra_config] == 0 } {
puts $cf "DNS log threshold: 3600"
}
if { [regexp -nocase "Sync interval:" $extra_config] == 0 } {
puts $cf "Sync interval: 1 day"
}
puts $cf "Aux-item definition file: $aux_item_conf_file"
} else {
puts $cf $base_config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment