mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: use separate kill command for sigmastar
parent
fa832281a4
commit
71f109959b
|
@ -3,7 +3,7 @@
|
||||||
# OpenIPC.org | 2024
|
# OpenIPC.org | 2024
|
||||||
#
|
#
|
||||||
|
|
||||||
scr_version=1.0.35
|
scr_version=1.0.36
|
||||||
|
|
||||||
args=" $@"
|
args=" $@"
|
||||||
|
|
||||||
|
@ -102,7 +102,13 @@ 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"
|
||||||
for proc in majestic crond klogd ntpd rngd syslogd; do
|
if [ "$vendor" = "sigmastar" ]; then
|
||||||
|
killall -3 majestic
|
||||||
|
else
|
||||||
|
majestic=majestic
|
||||||
|
fi
|
||||||
|
|
||||||
|
for proc in $majestic crond klogd ntpd rngd syslogd; do
|
||||||
echo -n "Killing $proc "
|
echo -n "Killing $proc "
|
||||||
while [ -n "$(pidof $proc)" ]; do
|
while [ -n "$(pidof $proc)" ]; do
|
||||||
killall -q $proc
|
killall -q $proc
|
||||||
|
|
Loading…
Reference in New Issue