Browse Source

Restart dnsmasq after the VPN setup

Julien VAUBOURG 10 years ago
parent
commit
abc749dd4f
2 changed files with 4 additions and 0 deletions
  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