mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
core153: ship strongswan
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/153/filelists/strongswan
Symbolic link
1
config/rootfiles/core/153/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -89,6 +89,7 @@ rm -rf /lib/modules
|
||||
# Remove files
|
||||
|
||||
# Stop services
|
||||
/etc/init.d/ipsec stop
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
@@ -111,6 +112,9 @@ sed -e "s/^%hourly,random \* \* \*/%hourly,random */g" \
|
||||
fcrontab -z
|
||||
|
||||
# Start services
|
||||
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
/etc/init.d/suricata restart
|
||||
|
||||
# Reload sysctl.conf
|
||||
|
||||
Reference in New Issue
Block a user