mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-03-20 15:02:24 +00:00
Fix conditional operator
This commit is contained in:
parent
44ff473cfd
commit
45674c6857
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user