mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-04 03:43:29 +03:00
Fix conditional operator
This commit is contained in:
parent
44ff473cfd
commit
45674c6857
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue