Shutdown Ruby, if present, during sysupgrade procedure (#1746)

pull/1748/head
Petru Soroaga 2025-03-10 08:35:20 +02:00 committed by GitHub
parent 336732a527
commit 7d6bf8ff6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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