View Single Post
Old 02-02-2017, 03:52 AM   #42
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by kido.resuri View Post
Would that make any difference? Besides, i would have to make sure wifi is off when starting nickel, and that would make it impossible to run any telnet commands... sure a script could do it, but i find reboot more clean and fast than restarting nickel.
I do not exactly understand your use case of the whole thing, but I wonder whether it is necessary to move the new files and modify the database immediately after nickel has processed them. You could as well continue to use your reader (for reading), and if you exit nickel and nickel gives control back to start_nickel.sh (from the above description I guess you are using KSM), the script could check whether there are files in /mnt/onboard/.mysd, and if so move them to /mnt/onboard/.mybooks and modify the database. And once you really need that the library knows the newly downloaded books and those located on the external sd, you simply exit nickel and reenter again.
tshering is offline   Reply With Quote