mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
Core Update 172: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/172/filelists/strongswan
Symbolic link
1
config/rootfiles/core/172/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../common/strongswan
|
||||||
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Stop services
|
# Stop services
|
||||||
|
/etc/rc.d/init.d/ipsec stop
|
||||||
|
|
||||||
# Remove files
|
# Remove files
|
||||||
|
|
||||||
@@ -48,6 +49,9 @@ ldconfig
|
|||||||
/usr/local/bin/filesystem-cleanup
|
/usr/local/bin/filesystem-cleanup
|
||||||
|
|
||||||
# Start services
|
# Start services
|
||||||
|
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||||
|
/etc/init.d/ipsec start
|
||||||
|
fi
|
||||||
|
|
||||||
# This update needs a reboot...
|
# This update needs a reboot...
|
||||||
#touch /var/run/need_reboot
|
#touch /var/run/need_reboot
|
||||||
|
|||||||
Reference in New Issue
Block a user