core59: start/stop ipsec and ssh at update.

This commit is contained in:
Arne Fitzenreiter
2012-05-12 19:40:41 +02:00
parent a18da317d3
commit 4bd2536f4b

View 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