X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F153%2Fupdate.sh;fp=config%2Frootfiles%2Fcore%2F153%2Fupdate.sh;h=f94cf49259838ee2cce0acc500e5bf2224e7661c;hp=af85c179414f843abb49a6a6bdfb250f2cc336b1;hb=ef14d8a064af141a1f1c4acccd6cf70ccc443304;hpb=76da59bba60fa3d3012b6e026fb5451d0c3a7bfe diff --git a/config/rootfiles/core/153/update.sh b/config/rootfiles/core/153/update.sh index af85c17941..f94cf49259 100644 --- a/config/rootfiles/core/153/update.sh +++ b/config/rootfiles/core/153/update.sh @@ -89,6 +89,7 @@ rm -rf /lib/modules # Remove files # Stop services +/etc/init.d/ipsec stop # Extract files extract_files @@ -111,6 +112,9 @@ sed -e "s/^%hourly,random \* \* \*/%hourly,random */g" \ fcrontab -z # Start services +if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then + /etc/init.d/ipsec start +fi /etc/init.d/suricata restart # Reload sysctl.conf