mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 07:38:50 +01:00
fixed broken instant play (kill instead of pkil when using pid directly)
This commit is contained in:
parent
f60111fa45
commit
7038bdbbb9
@ -17,7 +17,7 @@ schedule_powerdown() {
|
||||
|
||||
# Send USR1 signal to the running FunKey process to warn about
|
||||
# impending shutdown
|
||||
pkill -USR1 "$(pid print)" > /dev/null 2>&1
|
||||
kill -USR1 "$(pid print)" > /dev/null 2>&1
|
||||
|
||||
# Delay for the given grace period seconds to catch signal USR2.
|
||||
# If the signal is caught, then it means the running FunKey
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user