]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core56: stop/start sshd and apache while updateing.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 21 Jan 2012 19:26:26 +0000 (20:26 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 21 Jan 2012 19:26:26 +0000 (20:26 +0100)
config/rootfiles/core/56/update.sh

index cde93e1f47392305c3813a2540d8e511c4bb0ae4..2655a40a31b7a49f037cb5f377f47b7b43fcba1b 100644 (file)
@@ -34,6 +34,8 @@ done
 
 #
 #Stop services
+/etc/init.d/sshd stop
+/etc/init.d/apache stop
 
 #
 #Extract files
@@ -46,7 +48,8 @@ sed -i -e "s|38400|115200|g" /etc/inittab
 
 #
 #Start services
-
+/etc/init.d/apache start
+/etc/init.d/sshd start
 
 #
 #Update Language cache