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:
Arne Fitzenreiter
2021-10-25 16:52:15 +00:00
parent c4c7563335
commit c04ebdccee
3 changed files with 6 additions and 1 deletions

View File

@@ -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