View Single Post
Old 04-06-2015, 08:38 PM   #31
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Do not use bash or sh, just use the uploader script itself -- ./dropbox_uploader.sh

As per standard unix script design, it includes a shebang that points at the bundled bash binary.
This is necessary because unix does not include the currentdir in your PATH -- so when you used "bash" it resolved to /usr/bin/bash which is part of busybox which breaks hard.

Also note -- awkward typing unless you make the config files from a computer. usbnetwork+ssh should work, so should running on a linux PC then copying over to the Kindle.

brianinmaine -- why must users create an app? You can publicly release one so people only need to authenticate an account.

Last edited by eschwartz; 04-06-2015 at 08:42 PM.
eschwartz is offline   Reply With Quote