From 7038bdbbb9f963b4ce5438c6d563fb20e4e577a9 Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Sun, 20 Jun 2021 00:16:28 +0200 Subject: [PATCH] fixed broken instant play (kill instead of pkil when using pid directly) --- FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown index 7bb38ed..930b710 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown @@ -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