mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 01:42:58 +02:00
Core Update 173: Ship openvpn-authenticator and restart OpenVPN
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -151,4 +151,5 @@ lib/firmware/qca/rampatch_usb_00190200.bin
|
||||
lib/udev/network-hotplug-rename
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
srv/web/ipfire/cgi-bin/pppsetup.cgi
|
||||
usr/sbin/openvpn-authenticator
|
||||
var/ipfire/dhcpc/dhcpcd.conf
|
||||
|
||||
@@ -44,6 +44,8 @@ for (( i=1; i<=$core; i++ )); do
|
||||
done
|
||||
|
||||
# Stop services
|
||||
/usr/local/bin/openvpnctrl -k
|
||||
/usr/local/bin/openvpnctrl -kn2n
|
||||
|
||||
KVER="xxxKVERxxx"
|
||||
|
||||
@@ -98,6 +100,10 @@ ldconfig
|
||||
/usr/local/bin/filesystem-cleanup
|
||||
|
||||
# Start services
|
||||
if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
|
||||
/usr/local/bin/openvpnctrl -s
|
||||
/usr/local/bin/openvpnctrl -sn2n
|
||||
fi
|
||||
|
||||
# Regenerate all initrds
|
||||
dracut --regenerate-all --force
|
||||
|
||||
Reference in New Issue
Block a user