mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
core161: add strongswan changes to update.
this core also stops strongwan before extracting because the updown script is changed. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -14,7 +14,6 @@ srv/web/ipfire/cgi-bin/speed.cgi
|
||||
usr/bin/2to3
|
||||
usr/bin/hexdump
|
||||
usr/lib/firewall/rules.pl
|
||||
usr/libexec/ipsec/_updown
|
||||
usr/local/bin/hddshutdown
|
||||
usr/local/bin/makegraphs
|
||||
var/ipfire/backup/exclude
|
||||
|
||||
1
config/rootfiles/core/161/filelists/stronswan
Symbolic link
1
config/rootfiles/core/161/filelists/stronswan
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/strongswan
|
||||
@@ -96,6 +96,7 @@ rm -rf /usr/lib/python2*
|
||||
rm -rf /usr/lib/collectd/python.so
|
||||
|
||||
# Stop services
|
||||
/etc/init.d/ipsec stop
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
@@ -119,6 +120,9 @@ ldconfig
|
||||
/usr/local/bin/filesystem-cleanup
|
||||
|
||||
# Start services
|
||||
if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
# Delete orphaned pppd 2.4.8 shared object files
|
||||
rm -rf \
|
||||
@@ -162,3 +166,4 @@ sync
|
||||
|
||||
# Don't report the exitcode last command
|
||||
exit 0
|
||||
# Stop services
|
||||
|
||||
Reference in New Issue
Block a user