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.
|