From: Arne Fitzenreiter Date: Sat, 12 May 2012 17:40:41 +0000 (+0200) Subject: core59: start/stop ipsec and ssh at update. X-Git-Tag: v2.11-core59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;p=people%2Ftrikolon%2Fipfire-2.x.git core59: start/stop ipsec and ssh at update. --- diff --git a/config/rootfiles/core/59/update.sh b/config/rootfiles/core/59/update.sh index 5a3cc2a21..6764f1c20 100644 --- a/config/rootfiles/core/59/update.sh +++ b/config/rootfiles/core/59/update.sh @@ -34,12 +34,15 @@ done # #Stop services +/etc/init.d/ipsec stop +/etc/init.d/sshd stop # #Extract files # #Start services +/etc/init.d/sshd start if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then /etc/init.d/ipsec start fi