View Single Post
Old 05-07-2020, 09:44 AM   #43
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,760
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Carmelocotonto View Post
Hi, friends.
I am excited about this tool. So I started testing and I indicate the ones that I have verified that they work, in case it helps someone.
This is my config: (koreader with the last nightly)

menu_item :main :Koreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/koreader/koreader.sh
menu_item :main :Coolreader :cmd_spawn :/bin/sh -c mnt/onboard/.adds/vlasovsoft/launcher.sh > /dev/null 2>&1
menu_item :main :Reboot :cmd_spawn :/bin/sync; /bin/busybox reboot
menu_item :main :Sincronizar DRIVE :cmd_spawn :/bin/sh -c mnt/onboard/.adds/kobocloud/sincronizarDRIVE.sh

Edit: The last menu_item is a 'sh' based on the content of kobocloud
Looks good in general, but a few notes:
  • You don't need the "sh -c", as that's already prepended by default.
  • You don't need the "> /dev/null 2>&1", as that's also included by default.
  • I'll probably add a separate reboot action, as that still isn't totally clean (Nickel has a lot of stuff it does on reboot/shutdown).

Edit: You'll have proper shutdown/reboot actions in the release later today.

Last edited by geek1011; 05-07-2020 at 10:46 AM.
geek1011 is offline   Reply With Quote