mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
core68: stop strongswan while update it.
This commit is contained in:
@@ -39,6 +39,7 @@ rm -rf /opt/pakfire/db/*/meta-freefont
|
|||||||
|
|
||||||
#
|
#
|
||||||
#Stop services
|
#Stop services
|
||||||
|
/etc/init.d/ipsec stop
|
||||||
|
|
||||||
#
|
#
|
||||||
#Extract files
|
#Extract files
|
||||||
@@ -46,6 +47,9 @@ extract_files
|
|||||||
|
|
||||||
#
|
#
|
||||||
#Start services
|
#Start services
|
||||||
|
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
|
||||||
|
/etc/init.d/ipsec start
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#Update Language cache
|
#Update Language cache
|
||||||
@@ -65,3 +69,4 @@ sync
|
|||||||
sendprofile
|
sendprofile
|
||||||
#Don't report the exitcode last command
|
#Don't report the exitcode last command
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user