Fix conditional operator

This commit is contained in:
Stanislas Lange 2025-01-27 00:33:02 +01:00
parent 44ff473cfd
commit 45674c6857
No known key found for this signature in database

View file

@ -282,7 +282,7 @@ PostDown = ip6tables -t nat -D POSTROUTING -o ${SERVER_PUB_NIC} -j MASQUERADE" >
echo "net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1" >/etc/sysctl.d/wg.conf
if [[ ${OS} = 'alpine' ]]; then
if [[ ${OS} == 'alpine' ]]; then
sysctl -p /etc/sysctl.d/wg.conf
rc-update add sysctl
ln -s /etc/init.d/wg-quick "/etc/init.d/wg-quick.${SERVER_WG_NIC}"