Parcourir la source

Restart dnsmasq after the VPN setup

Julien VAUBOURG il y a 10 ans
Parent
commit
abc749dd4f
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 2 0
      README.md
  2. 2 0
      conf/init_ynh-vpnclient

+ 2 - 0
README.md

@@ -3,6 +3,8 @@
 
 **Warning: work in progress**
 
+**Warning: use the dev branch with the daily version of yunohost (compatibility with dnsmasq)**
+
 VPN Client app for [YunoHost](http://yunohost.org/).
 
 * Install a VPN connection on your self-hosted server.

+ 2 - 0
conf/init_ynh-vpnclient

@@ -253,6 +253,8 @@ case "${1}" in
           [ ${i} -gt 20 ] && exit 1
           ip link show dev tun0 &> /dev/null
         done
+
+        service dnsmasq restart
       fi
 
       # Check old state of the server ipv6 route