Restart dnsmasq after the VPN setup
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
**Warning: work in progress**
|
**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/).
|
VPN Client app for [YunoHost](http://yunohost.org/).
|
||||||
|
|
||||||
* Install a VPN connection on your self-hosted server.
|
* Install a VPN connection on your self-hosted server.
|
||||||
|
@@ -253,6 +253,8 @@ case "${1}" in
|
|||||||
[ ${i} -gt 20 ] && exit 1
|
[ ${i} -gt 20 ] && exit 1
|
||||||
ip link show dev tun0 &> /dev/null
|
ip link show dev tun0 &> /dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
|
service dnsmasq restart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check old state of the server ipv6 route
|
# Check old state of the server ipv6 route
|
||||||
|
Reference in New Issue
Block a user