Shutdown Ruby, if present, during sysupgrade procedure

Stop all Ruby processes, if present, when launching a sysupgrade procedure.
pull/1746/head
Petru Soroaga 2025-03-10 07:48:35 +02:00
parent 336732a527
commit c7b2c6cf95
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ download_firmware() {
free_resources() {
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
sleep 1
/etc/init.d/S99rc.local stop