mirror of https://github.com/OpenIPC/firmware.git
Shutdown Ruby, if present, during sysupgrade procedure (#1746)
parent
336732a527
commit
7d6bf8ff6d
|
@ -98,6 +98,9 @@ download_firmware() {
|
||||||
|
|
||||||
free_resources() {
|
free_resources() {
|
||||||
echo_c 37 "\nStop services, sync files, free up memory"
|
echo_c 37 "\nStop services, sync files, free up memory"
|
||||||
|
if [ -f /etc/init.d/S73ruby ]; then
|
||||||
|
/etc/init.d/S73ruby stop
|
||||||
|
fi
|
||||||
killall -q -3 majestic
|
killall -q -3 majestic
|
||||||
sleep 1
|
sleep 1
|
||||||
/etc/init.d/S99rc.local stop
|
/etc/init.d/S99rc.local stop
|
||||||
|
|
Loading…
Reference in New Issue