mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
Core Update 166: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/166/filelists/strongswan
Symbolic link
1
config/rootfiles/core/166/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -46,6 +46,7 @@ gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617
|
||||
unset GNUPGHOME
|
||||
|
||||
# Stop services
|
||||
/etc/init.d/ipsec stop
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
@@ -69,6 +70,9 @@ perl -e "require '/var/ipfire/ids-functions.pl'; &IDS::oinkmaster();"
|
||||
# Start services
|
||||
/etc/init.d/apache restart
|
||||
/etc/init.d/sshd restart
|
||||
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
# This update needs a reboot...
|
||||
touch /var/run/need_reboot
|
||||
|
||||
Reference in New Issue
Block a user