]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 168: Ship and restart OpenVPN
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 18 Apr 2022 21:08:28 +0000 (21:08 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 18 Apr 2022 21:08:28 +0000 (21:08 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/168/filelists/openvpn [new symlink]
config/rootfiles/core/168/update.sh

diff --git a/config/rootfiles/core/168/filelists/openvpn b/config/rootfiles/core/168/filelists/openvpn
new file mode 120000 (symlink)
index 0000000..493f3f7
--- /dev/null
@@ -0,0 +1 @@
+../../../common/openvpn
\ No newline at end of file
index 96af4055838c5e2d567895463a24f6418732038c..e27d041d377b7a2ee562d45fa400ad06cb7824f7 100644 (file)
@@ -60,6 +60,8 @@ rm -vf \
 
 # Stop services
 /etc/init.d/squid stop
+/usr/local/bin/openvpnctrl -k
+/usr/local/bin/openvpnctrl -kn2n
 
 # Extract files
 extract_files
@@ -76,6 +78,8 @@ ldconfig
 # Start services
 /etc/init.d/vnstatd restart
 /etc/init.d/squid start
+/usr/local/bin/openvpnctrl -s
+/usr/local/bin/openvpnctrl -sn2n
 
 # This update needs a reboot...
 #touch /var/run/need_reboot