@Ken Maltby: I'm aware that reader.lua can be called with some arguments, but when we call koreader (from shell, from start menu or from fmon) we normally don't call the reader.lua itself, but the koreader.sh script, which in kindles does:
./reader.lua $@ 2>crash.log
this means that if you call koreader.sh without arguments in a kindle koreader boot with last opened document ($@ == "")
in kobos koreader.sh does:
./reader.lua /mnt/onboard/ 2>crash.log, ignoring all arguments passed away.
If we wish to keep both files the same as possible calling koreader.sh on kobos without arguments will open koreader with last opened document, and for have the standard behaviour right now we need to call:
koreader.sh /mnt/onboard
I can't explain myself in english very well