I'm not all that good with Linux. Can someone come up with a .sh script to get a directory listing of the directory where the database?
I was thinking if a directory listing can be shown then those with a new Kobo and the newest firmware can see if the database is open or not before connecting to the computer to know if to reboot or not. The script could reboot automatically if the database is open or return that the database is not open.
I hope someone can help. Thanks.
|