View Single Post
Old 08-08-2022, 09:28 AM   #4
ajkessel
Connoisseur
ajkessel began at the beginning.
 
Posts: 76
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
Thanks -- I wrote a wrapper script that works. I also had to add a new shell script for Kobocloud so it doesn't fork immediately on execution. My script calls a non-forking Kobocloud script, waits for that to finish, then simulates USB connect/disconnect to force an autoshelf.

I was also trying to figure out if there is some way to run autoshelf directly without having to trigger a USB toggle, but if I just run /usr/local/AutoShelf/autoshelf.sh, nothing happens.
ajkessel is offline   Reply With Quote