We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841ffdf commit 1fc1cd5Copy full SHA for 1fc1cd5
root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run
@@ -135,7 +135,7 @@ if [ -n "$PEERS" ]; then
135
PEERS_ARRAY=($(echo "$PEERS" | tr ',' ' '))
136
fi
137
PEERS_COUNT=$(echo "${#PEERS_ARRAY[@]}")
138
- if [ "${PERSISTENTKEEPALIVE_PEERS}" = "all" ] || [ "${PERSISTENTKEEPALIVE_PEERS}" =~ *,* ]; then
+ if [ -n "${PERSISTENTKEEPALIVE_PEERS}" ]; then
139
echo "**** PersistentKeepalive will be set for: ${PERSISTENTKEEPALIVE_PEERS/,/ } ****"
140
PERSISTENTKEEPALIVE_PEERS_ARRAY=($(echo "$PERSISTENTKEEPALIVE_PEERS" | tr ',' ' '))
141
0 commit comments