[fix] Let VPN mount (#38)

This commit is contained in:
ljf (zamentur)
2018-05-22 09:43:35 +02:00
committed by GitHub
parent 24ff5a8687
commit 081447008c

View File

@@ -129,6 +129,10 @@ start_openvpn() {
[ "${ynh_server_proto}" == tcp ] && proto=tcp-client
fi
# Unset firewall to let DNS and NTP resolution works
# Firewall is reset after vpn is mounted (more details on #1016)
unset_firewall
sync_time
cp /etc/openvpn/client.conf{.tpl,}