[no ci] Overlay: update sysupgrade killall command (#1266)

pull/1267/head
viktorxda 2024-01-18 17:28:50 +01:00 committed by GitHub
parent e24d51505f
commit 9b9e1c6073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# OpenIPC.org | 2024
#
scr_version=1.0.31
scr_version=1.0.32
args=" $@"
@ -105,8 +105,9 @@ free_resources() {
echo -n "Killing majestic ... "
time=$(grep TIME_STAMP /etc/os-release | cut -d= -f2)
if [ "$time" -gt "1706791500" ]; then
killall -q -SIGUSR2 majestic
if [ "$time" -gt "1705705200" ]; then
killall -q -SIGUSR1 majestic
sleep 2
else
killall -q majestic
fi