mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
core74: Add strongswan update.
This commit is contained in:
1
config/rootfiles/core/74/filelists/i586/strongswan-padlock
Symbolic link
1
config/rootfiles/core/74/filelists/i586/strongswan-padlock
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/strongswan-padlock
|
||||
1
config/rootfiles/core/74/filelists/strongswan
Symbolic link
1
config/rootfiles/core/74/filelists/strongswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -35,6 +35,7 @@ done
|
||||
|
||||
#
|
||||
#Stop services
|
||||
/etc/init.d/ipsec stop
|
||||
/etc/init.d/squid stop
|
||||
|
||||
|
||||
@@ -61,6 +62,10 @@ chown nobody:nobody /var/ipfire/proxy/squid.conf
|
||||
#Start services
|
||||
/etc/init.d/squid start
|
||||
|
||||
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
#
|
||||
#Update Language cache
|
||||
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
|
||||
@@ -75,4 +80,4 @@ sync
|
||||
/etc/init.d/fireinfo start
|
||||
sendprofile
|
||||
#Don't report the exitcode last command
|
||||
exit 0
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user