mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
core56: stop/start sshd and apache while updateing.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user