8 lines
166 B
Bash
8 lines
166 B
Bash
#!/bin/sh
|
|
|
|
if grep -q "^__block/${__object_id:?}" "${__messages_in:?}"; then
|
|
cat <<- EOF
|
|
wg syncconf ${__object_id:?} /etc/wireguard/${__object_id:?}.conf
|
|
EOF
|
|
fi
|
|
|