mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 182: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/182/filelists/strongswan
Symbolic link
1
config/rootfiles/core/182/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
|
||||
done
|
||||
|
||||
# Stop services
|
||||
/etc/rc.d/init.d/ipsec stop
|
||||
/etc/rc.d/init.d/squid stop
|
||||
/etc/rc.d/init.d/unbound stop
|
||||
|
||||
@@ -58,6 +59,9 @@ ldconfig
|
||||
if [ -f /var/ipfire/proxy/enable ]; then
|
||||
/etc/init.d/squid start
|
||||
fi
|
||||
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||
/etc/rc.d/init.d/ipsec start
|
||||
fi
|
||||
|
||||
# This update needs a reboot...
|
||||
#touch /var/run/need_reboot
|
||||
|
||||
Reference in New Issue
Block a user