From 97499aa8a3c7b85de7609126f77ec41ab03cf469 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 25 Feb 2019 02:29:29 +0000 Subject: [PATCH] core129: Ship updated OpenVPN Signed-off-by: Michael Tremer --- config/rootfiles/core/129/filelists/openvpn | 1 + config/rootfiles/core/129/update.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 120000 config/rootfiles/core/129/filelists/openvpn diff --git a/config/rootfiles/core/129/filelists/openvpn b/config/rootfiles/core/129/filelists/openvpn new file mode 120000 index 0000000000..493f3f7a42 --- /dev/null +++ b/config/rootfiles/core/129/filelists/openvpn @@ -0,0 +1 @@ +../../../common/openvpn \ No newline at end of file diff --git a/config/rootfiles/core/129/update.sh b/config/rootfiles/core/129/update.sh index 3cd5b6a222..5ab078ea30 100644 --- a/config/rootfiles/core/129/update.sh +++ b/config/rootfiles/core/129/update.sh @@ -32,6 +32,8 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/usr/local/bin/openvpnctrl -k +/usr/local/bin/openvpnctrl -kn2n /usr/local/bin/ipsecctrl D /etc/init.d/unbound stop @@ -52,6 +54,8 @@ ldconfig /etc/init.d/firewall restart /etc/init.d/unbound start /usr/local/bin/ipsecctrl S +/usr/local/bin/openvpnctrl -s +/usr/local/bin/openvpnctrl -sn2n # This update needs a reboot... #touch /var/run/need_reboot -- 2.39.5