Skip to content

Commit

Permalink
Fix conditional operator
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Jan 26, 2025
1 parent 44ff473 commit 45674c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireguard-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 45674c6

Please sign in to comment.