[BOARD] update joymap.sh and link

use "pkill" and "params=" in appLink
This commit is contained in:
Apaczer
2023-10-30 22:33:07 +01:00
parent 3a4ab9ba79
commit 597de022fb
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/busybox sh #!/bin/busybox sh
if pgrep "loadmap" 2> /dev/null; then if pgrep "loadmap" 2> /dev/null; then
killall -2 loadmap pkill loadmap
else else
loadmap /mnt/joymap.map -d -b loadmap /mnt/joymap.map -d
fi fi

View File

@@ -1,3 +1,4 @@
title=Joymap title=Joymap
description=Joy to keyboard mapper description=Joy to keyboard mapper
exec=/mnt/apps/joymap/joymap.sh exec=/mnt/apps/joymap/joymap.sh
params=&