core59: start/stop ipsec and ssh at update. v2.11-core59
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 12 May 2012 17:40:41 +0000 (19:40 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 12 May 2012 17:40:41 +0000 (19:40 +0200)
config/rootfiles/core/59/update.sh

index 5a3cc2a..6764f1c 100644 (file)
@@ -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