X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F68%2Fupdate.sh;h=e68229a3fd07b010b78bab2cf83557a952030060;hp=11cab1009257e8865f73bf5ce653344b4ce4e32c;hb=83eb743523eae784bde6cc6b30dbe5d3af428d41;hpb=24131aadf415de3dca6bf62b6554a42827457112 diff --git a/config/rootfiles/core/68/update.sh b/config/rootfiles/core/68/update.sh index 11cab1009..e68229a3f 100644 --- a/config/rootfiles/core/68/update.sh +++ b/config/rootfiles/core/68/update.sh @@ -39,6 +39,7 @@ rm -rf /opt/pakfire/db/*/meta-freefont # #Stop services +/etc/init.d/ipsec stop # #Extract files @@ -46,6 +47,9 @@ extract_files # #Start services +if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then + /etc/init.d/ipsec start +fi # #Update Language cache @@ -65,3 +69,4 @@ sync sendprofile #Don't report the exitcode last command exit 0 +