blob: 701bbd40b7b1babdbb83d167ad19393347073937 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
echo
echo "To complete the installation, please add this script to your OpenVPN"
echo "settings for each of the VPNs you wish it to manage the DNS for:"
echo " script-security 2"
echo " setenv PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
echo " up /etc/openvpn/scripts/update-systemd-resolved"
echo " down /etc/openvpn/scripts/update-systemd-resolved"
echo " down-pre"
echo
}
post_upgrade() {
post_install
echo
echo "The path to the script has changed. Please ensure you update all your"
echo "configuration files to match this:"
echo " up /etc/openvpn/scripts/update-systemd-resolved"
echo " down /etc/openvpn/scripts/update-systemd-resolved"
echo
}
|