Map dashes to underscores in config setting names
This commit is contained in:
parent
9705b59226
commit
58ba1cf3d7
3
rowbot
3
rowbot
|
@ -296,7 +296,7 @@ for new in "${new_set[@]}"; do
|
|||
done
|
||||
|
||||
if (( !found )); then
|
||||
config[$new]=${!new}
|
||||
config[${new//_/-}]=${!new}
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -620,6 +620,7 @@ on_sys_first_015_net() {
|
|||
conn_args=OPENSSL:$server:$port
|
||||
fi
|
||||
|
||||
log_debug "socat connection settings are %s" "$conn_args"
|
||||
socat "$conn_args" - <"$sock_dir"/rowbot-in.sock >"$sock_dir"/rowbot-out.sock &
|
||||
local tls_pid=$! out_sock in_sock
|
||||
exec {out_sock}>"$sock_dir"/rowbot-in.sock {in_sock}<"$sock_dir"/rowbot-out.sock
|
||||
|
|
Loading…
Reference in New Issue