mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: set current timestamp for sysupgrade (#1260)
parent
cb1fd2d8c0
commit
0c55434175
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue