소스 검색

fixed broken instant play (kill instead of pkil when using pid directly)

Vincent-FK 2 년 전
부모
커밋
7038bdbbb9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/powerdown

+ 1 - 1
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