View Single Post
Old 03-29-2015, 09:27 PM   #3
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by Hyperinflation View Post
An update to this:

Currently I have fixed the problem by changing the start.sh file located in:

/opt/amazon/ebook/bin/start.sh

I modified line 188 to add "-Duser.timezone=Asia/Bangkok" to the $opts variable that is used to start the Java VM. I now get the correct time displayed, but this seems like an awful hack.

Anybody have a more elegant solution?
I am looking to use this to fix my timezone problem, but I get a message about this being a read-only file system. How do I obtain read/write to this in order to make the change and then restore the sytem to read/only? I plan on making a backup copy of start.sh to be sure I don't screw things up beyond repair. I intend to use mc in myts to add my own timezone setting.

Dave
dhdurgee is offline   Reply With Quote