[no ci] Overlay: set current timestamp for sysupgrade (#1260)

pull/1261/head
viktorxda 2024-01-16 15:55:31 +01:00 committed by GitHub
parent cb1fd2d8c0
commit 0c55434175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# OpenIPC.org | 2024 # OpenIPC.org | 2024
# #
scr_version=1.0.29 scr_version=1.0.30
args=" $@" args=" $@"
@ -105,7 +105,7 @@ free_resources() {
echo -n "Killing majestic ... " echo -n "Killing majestic ... "
time=$(grep TIME_STAMP /etc/os-release | cut -d= -f2) time=$(grep TIME_STAMP /etc/os-release | cut -d= -f2)
if [ "$time" -gt "1702544400" ]; then if [ "$time" -gt "1705414000" ]; then
killall -q -SIGUSR2 majestic killall -q -SIGUSR2 majestic
else else
killall -q majestic killall -q majestic